2016-02-16 22:08:27 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2016-11-30 18:35:44 +00:00
|
|
|
- os: linux
|
|
|
|
sudo: false
|
2016-12-01 14:56:41 +00:00
|
|
|
language: node_js
|
|
|
|
node_js: 6
|
2016-11-30 18:35:44 +00:00
|
|
|
- os: osx
|
2016-12-01 14:56:41 +00:00
|
|
|
language: node_js
|
|
|
|
node_js: 6
|
2016-06-21 07:40:25 +00:00
|
|
|
env:
|
|
|
|
global:
|
2017-02-14 16:17:10 +00:00
|
|
|
- SCROLEX_MODE=passthru
|
2016-11-30 18:59:21 +00:00
|
|
|
- secure: BeM6mpPEATdeFcAr/222QBZ9vRkZtU2WOi9QQy3mxsuDbWfM8RxYESIEJLipyhW9kXGoe6HGMqm4Kz9B/c4jrzeSXPpKnW7mIfnyqN+hhq1ctW9qPSqodu+fYNhdDxXh5wylml7hnIJzU70vFGrFknZRE2FYk5XvyHg2ImIKDJw=
|
|
|
|
- secure: RJ5UpdXms9QkraylZ11OBfmcRrmKnb254Yj0yCDAvZmg+n+3jSTwMgGvPY8Ih8X/R1JeW3VTtFDkJXXPnjjfpNg1M91u4CAEUOMPciCudYcoF6GKb8psnOzneTTX5M7zuJSzknGdpv/foldxiPYxiY5Hn5bfjmikhAEl+QX/R0Y=
|
|
|
|
- secure: BXf2buPt/DA09M5ZUdp/LpOWtUuz1mfCBopLyxvHv3Sl3ln+Az57wWsM2+Re+77lUOgihR2f6lXYfNUmQuSUo157rZPunQCqM/DJhK69KhREEB6SJDaJF3FVlnGla+Cwwb1IQUtMopqX9pBYD7w/zyWQFJCi20O57JEVIdfZZS8=
|
2016-12-15 11:57:42 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- debian-sid
|
|
|
|
packages:
|
|
|
|
- shellcheck
|
2017-02-14 14:12:04 +00:00
|
|
|
install:
|
|
|
|
- npm install # <-- yarn still messes up nested bins: https://github.com/yarnpkg/yarn/issues/760
|
2017-02-14 14:42:29 +00:00
|
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then npm run install:lanyon; fi
|
2016-12-01 11:49:06 +00:00
|
|
|
before_install:
|
2016-11-30 18:35:44 +00:00
|
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gsed || brew install gnu-sed; fi
|
2017-02-14 16:09:32 +00:00
|
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gtimeout || brew install coreutils; fi
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which bundle || gem install bundler; fi
|
2016-11-30 18:35:44 +00:00
|
|
|
- bash --version
|
|
|
|
- awk --version
|
2016-12-01 10:36:40 +00:00
|
|
|
before_cache:
|
|
|
|
- rm -f ./node_modules/.bin/which # <-- workaround for https://github.com/travis-ci/travis-ci/issues/5092
|
2016-12-01 09:47:17 +00:00
|
|
|
cache:
|
|
|
|
apt: true
|
|
|
|
directories:
|
|
|
|
- .lanyon
|
2016-02-17 07:44:32 +00:00
|
|
|
script: test/acceptance.sh
|
2016-06-21 07:40:25 +00:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: script
|
2016-11-30 19:26:24 +00:00
|
|
|
script: website/.lanyon/bin/deploy
|
2016-06-21 07:40:25 +00:00
|
|
|
on:
|
|
|
|
branch: master
|
2016-06-21 08:14:19 +00:00
|
|
|
condition: $TRAVIS_OS_NAME = linux
|