.travis.yml updates

This commit is contained in:
Lorin Werthen 2021-03-21 13:05:50 +01:00
parent f5a5a47fde
commit 1a527bb2a4
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -18,11 +18,10 @@ before_install:
- chmod 600 ~/.ssh/id_rsa
- echo -e "[zeus.ugent.be]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC87/Q3H8f7ghmA+iCtKGaNyk0fx3Z36Xrn+eGv8a4pD7MXeu6Uwr0aN5HnkcbRWXFtMwnAU3ptoP90vH7qu99w=\n[herbert.ugent.be]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLnJMh2DgqpVnHxOmeV6KffvzZGEVfniq0NFHRGZoL4f7Uc8xeG9gn3cc7lCL02F9LwWZNwR4gSqhGt/RK2S54=\n[git.zeus.gent]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLnJMh2DgqpVnHxOmeV6KffvzZGEVfniq0NFHRGZoL4f7Uc8xeG9gn3cc7lCL02F9LwWZNwR4gSqhGt/RK2S54=\n" >> ~/.ssh/known_hosts
- git submodule update --init --recursive --remote
- nix-shell
- bundle install --without=development,nanoc
- nix-shell --run 'bundle install --without=development,nanoc'
script:
- bundle exec nanoc --env=prod
- bundle exec nanoc --env=prod check --deploy
- nix-shell --run 'bundle exec nanoc --env=prod'
- nix-shell --run 'bundle exec nanoc --env=prod check --deploy'
after_success:
- chmod +x ./deploy.sh
- ./deploy.sh
- nix-shell --run './deploy.sh'