zeus.ugent.be/.travis.yml

23 lines
547 B
YAML
Raw Normal View History

2016-07-18 13:07:45 +02:00
language: ruby
rvm:
2016-07-18 13:31:59 +02:00
- 2.3.1
2016-07-18 13:36:10 +02:00
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 13:36:10 +02:00
-in id_rsa.enc -out ~/.ssh/id_rsa -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
install:
2016-07-18 13:31:59 +02:00
- bundle install --without development
2016-07-18 13:07:45 +02:00
script:
- bundle exec nanoc
2016-07-18 13:31:59 +02:00
- bundle exec nanoc check elinks
- bundle exec nanoc check ilinks
- bundle exec nanoc check stale
- bundle exec nanoc check mixed_content
after_success:
2016-07-18 13:55:32 +02:00
- chmod 600 ~/.ssh/id_rsa
2016-07-18 13:31:59 +02:00
- bundle exec nanoc deploy --target public