This repository has been archived by the owner on Jan 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
.travis.yml
34 lines (34 loc) · 2.91 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: ruby
cache: bundler
rvm:
- 2.2.0
branches:
only:
- master
script:
- mkdir build
- |
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
echo -e "Host discover-osdevelopers.rhcloud.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config;
openssl aes-256-cbc -K $encrypted_98698759786_key -iv $encrypted_98698759786_iv -in id_rsa_deploy.enc -out id_rsa_deploy -d;
chmod 600 id_rsa_deploy;
eval "$(ssh-agent -s)";
ssh-add id_rsa_deploy;
# Start the git repo
cd build;
git init;
# Do the git configs
git config --global user.email $USERMAIL;
git config --global user.name $USERNAME;
# And fetch the production state
git remote add production $REMOTE;
git pull production master;
cd ..
fi
- bundle exec middleman build --no-clean
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then bundle exec middleman deploy; fi
env:
global:
- secure: ebtKYLIDnj5BnAEmur39/TsxDO4zJPXEGcOTr7HO9uQA3s1dHHK9utrqEGXHqUtJUWIBSIxDVdA5PH+H2CTilgni0vgb2EH2kMBQqpV/2d/4delKGfHxESvnczmL85Tecw5L8wl2ehGT6K8h+u8JrvM9en9utY08K7qvkJJa9lqFYQvPEvlues9I0Y/Sf+W6m0ePvF4ZOG/YPAF7rm5YvB8GjUSj9pRgg9uaUNfpwzbufOGSQuMDP1Uvrfy7Fy8VWYBwey2qMtuQyi9wJVtKI+FiLlMV0xAeeDSv2bIA+cU8PKyyV4rjVps+xVTCog++pBBUKzTC3XCKBrZ3Ww5CioEyX1dDp6KBcBZkP91ZGfcKQEX84YcdlLYXvew4i1nuv0pDOOZBLmfSc57qSXBxcwiwWezN7b6E0vDGTV1G4seIqC5uYj0/jCD62uV5YaUOY+CO2hN4BF9oX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