-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
29 lines (24 loc) · 846 Bytes
/
.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
language: c
sudo: false
addons:
apt:
packages:
- help2man
- groff
script:
- make && make install DESTDIR="${HOME}"
after_success:
- git config --global user.name "Automatic Deployment (Travis CI)"
- git config --global user.email "junghans@votca.org"
- git fetch origin gh-pages && git checkout -b gh-pages FETCH_HEAD
- make clean && make
- if [[ ${encrypted_e6f2ead16db9_key} && ${encrypted_e6f2ead16db9_iv} && ${TRAVIS_PULL_REQUEST} == false && ${TRAVIS_BRANCH} == master ]]; then
git commit -a -m "Manpage update";
openssl aes-256-cbc -K $encrypted_e6f2ead16db9_key -iv $encrypted_e6f2ead16db9_iv -in deploy.enc -out ~/.ssh/id_rsa -d;
chmod 600 ~/.ssh/id_rsa;
git push git@github.com:${TRAVIS_REPO_SLUG} gh-pages:gh-pages;
else
git diff --no-color;
fi
compiler:
- gcc