simplify travis.yml

This commit is contained in:
Lorin Werthen 2021-04-04 22:02:05 +02:00
parent 1292603a18
commit 6a72f36c4b
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -26,10 +26,9 @@ 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 --run 'bundle install --without=development,nanoc'
script:
- nix-shell --run 'bundle exec nanoc --env=prod'
- nix-shell --run 'bundle exec nanoc --env=prod check --deploy'
- nix-shell --run 'nanoc --env=prod'
- nix-shell --run 'nanoc --env=prod check --deploy'
after_success:
- chmod +x ./deploy.sh
- nix-shell --run './deploy.sh'