2016-07-18 13:07:45 +02:00
|
|
|
language: ruby
|
2018-07-31 15:01:12 +02:00
|
|
|
bundler_args: --without development,nanoc
|
2016-07-19 19:13:48 +02:00
|
|
|
|
2018-12-06 10:20:56 +01:00
|
|
|
# Travis' own submodule update is broken somehow
|
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
|
2016-07-27 20:30:17 +02:00
|
|
|
cache:
|
2018-02-25 22:57:56 +01:00
|
|
|
apt: true
|
2016-07-27 20:30:17 +02:00
|
|
|
bundler: true
|
2018-10-14 17:10:53 +02:00
|
|
|
|
2017-05-17 23:29:03 +02:00
|
|
|
# Cache nanoc directories
|
2018-03-26 09:29:05 +02:00
|
|
|
# NEVER MIND LOL
|
|
|
|
# directories:
|
|
|
|
# - output
|
|
|
|
# - tmp
|
2016-07-27 20:30:17 +02:00
|
|
|
|
2018-02-25 22:57:56 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2019-09-26 16:39:25 +02:00
|
|
|
- texlive-full
|
2018-03-03 15:02:40 +01:00
|
|
|
- lmodern
|
2018-02-25 22:57:56 +01:00
|
|
|
|
2017-10-14 00:21:07 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2016-07-18 13:07:45 +02:00
|
|
|
rvm:
|
2019-11-27 16:06:47 +01:00
|
|
|
- 2.6.5
|
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:
|
2019-11-27 16:06:47 +01:00
|
|
|
- wget https://github.com/jgm/pandoc/releases/download/2.8/pandoc-2.8-1-amd64.deb
|
|
|
|
- sudo dpkg -i pandoc-2.8-1-amd64.deb
|
2016-07-18 13:31:59 +02:00
|
|
|
- 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
|
2018-12-06 10:20:56 +01:00
|
|
|
- mv deploy_key ~/.ssh/id_rsa
|
|
|
|
- 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
|
2020-02-02 17:07:19 +01:00
|
|
|
- git submodule update --init --recursive --remote
|
2018-10-14 17:10:53 +02:00
|
|
|
# Repo for newer Node.js versions
|
2018-10-16 19:02:01 +02:00
|
|
|
# - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
|
2018-10-14 17:10:53 +02:00
|
|
|
# Repo for Yarn
|
2018-10-16 19:02:01 +02:00
|
|
|
# - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
|
|
|
|
# - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
|
|
# - sudo apt-get update -qq
|
|
|
|
# - sudo apt-get install -y -qq yarn
|
2018-10-14 17:17:07 +02:00
|
|
|
- yarn
|
2016-07-18 13:07:45 +02:00
|
|
|
script:
|
2016-11-21 14:17:29 +01:00
|
|
|
- bundle exec nanoc --env=prod
|
|
|
|
- bundle exec nanoc --env=prod check --deploy
|
2016-07-18 13:31:59 +02:00
|
|
|
after_success:
|
2017-10-14 00:07:12 +02:00
|
|
|
- chmod +x ./deploy.sh
|
|
|
|
- ./deploy.sh
|