2016-07-18 13:07:45 +02:00
|
|
|
language: ruby
|
2016-07-18 14:37:59 +02:00
|
|
|
cache: bundler
|
2016-07-18 13:07:45 +02:00
|
|
|
rvm:
|
2016-07-18 13:31:59 +02:00
|
|
|
- 2.3.1
|
2016-07-18 14:00:57 +02:00
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: tej68wbYns4DYg488iz+4ncU3/CHJvG/5c1qntGcEjti6vZp24atuH32BzNMY+gqa5ftZtcRfqIiJ0I0tkbiFWEDzjSk89bgjG4sgwXq1gMqi/Fj4bqEpjU5m7QLa786q4UfYyTF+srca1fHPLVS5REdGjRr2wxX+bcFnTRxreGCIrlNdWhoZPPJyS37R4RR9k+l5ZWZnqWgUN6bD448O8EzMRVRWoUSxQcJ6+u4QLpinEvem4iXe+WcHOyFfsNmavxGGMMpkOSed/tzA1l+gNpl224qOJl3yAk2qrGi4N6SOnSkeJFfUO5RzX56KDC/tcCL1oJpamhDmzDvRrbDNnCjSriv+g+PkXEjiwBF/tkZwIe7nMKyc9QF698Zvdgb6Ffbq21obsRnkkddkxijthdbUKMAIREPQuU7pXRL4ykPkBeB5GkNjPlErOooxvUHvQEVElJ8NMD4ychQqW6relaYJ0W0uy0QMvrtS+cHkpprZAOZzWLa3AdEOvD50kiS2hDhJway5JHJg/LMl3I6XVVMx6fNGdNWBcezeCqkDZM+nuMJqgAtQ+Tz8bwrHLCJgS5u0lQq/MbrDkYdpmmzvA5LXxn2SpjfOAlgiFKnSIwKSuuuwzW/zCEGdPo1pfBba2VfYAN4y1l863j5ph+eMtlHf7JG8mzIWTo3k+Jx8lQ=
|
2016-07-18 13:31:59 +02:00
|
|
|
before_install:
|
|
|
|
- openssl aes-256-cbc -K $encrypted_6059a4f451fd_key -iv $encrypted_6059a4f451fd_iv
|
2016-07-18 14:46:30 +02:00
|
|
|
-in id_rsa.enc -out deploy_key -d
|
2016-07-18 13:51:42 +02:00
|
|
|
- echo -e "Host zeus.ugent.be\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
2016-07-18 13:07:45 +02:00
|
|
|
script:
|
2016-07-18 13:40:31 +02:00
|
|
|
- bundle exec nanoc
|
2016-07-18 13:31:59 +02:00
|
|
|
- bundle exec nanoc check elinks
|
2016-07-19 11:31:12 +02:00
|
|
|
- bundle exec nanoc check html
|
2016-07-18 13:31:59 +02:00
|
|
|
- bundle exec nanoc check ilinks
|
|
|
|
- bundle exec nanoc check mixed_content
|
2016-07-19 11:31:12 +02:00
|
|
|
- bundle exec nanoc check stale
|
2016-07-18 13:31:59 +02:00
|
|
|
after_success:
|
2016-07-18 14:46:30 +02:00
|
|
|
- mv deploy_key ~/.ssh/id_rsa
|
2016-07-18 13:55:32 +02:00
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
2016-07-18 14:27:38 +02:00
|
|
|
- chmod +x .travis/deploy.sh
|
|
|
|
- .travis/deploy.sh
|