forked from scala-js/scala-js-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
13 lines (13 loc) · 939 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
language: ruby
rvm: 2.2.3
install:
- gem install -N jekyll:3.0.1 jekyll-paginate:1.1.0 jekyll-assets:2.1.2 sass:3.4.20 execjs:2.6.0 uglifier:2.7.2
script:
- jekyll build
after_success:
- if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${TRAVIS_BRANCH}" == "master" && "${DEPLOY_USER}" != "" && "${DEPLOY_PASS}" != "" ]]; then sudo apt-get update -qq; sudo apt-get install -qq sshpass; sshpass -p "${DEPLOY_PASS}" rsync -e "ssh -o StrictHostKeyChecking=no" -atv _site/ "${DEPLOY_USER}@origin.scala-js.org:www/"; fi
env:
global:
- JEKYLL_ENV=production
- secure: "LqFs6BOc37nDgdBIw7hD4mYru2PCem4OV3H8X3oYcNt+FtzSs4YLi5Y8rOtYkwrZTPv+hConsX6/lHA7gFt2ln26iezOtLbPUmzUhMwuV5n2siX4CTaJW3lcwmr1sle3SmtcZeSoE2lXo0vQYYY1dyO1Z7wBwACHOuvxEX3DCis="
- secure: "WXFxQFhiwYyIfQKy8s8oUGQn7pdUzj4wj4Jp77gdOhMPgiY4UKeA3KD7bp5tcf999t+LLzVvVC0l6CpBEGyc4MH9vikm+adDouqPanQ3xtyLCiPf4AWRt39U90BOXh54afuRaF6Kb0pmwqRXlJdWLc1W8C7SJ2vJEWDDP/3dhDc="