Created
April 26, 2017 00:30
-
-
Save cbfrance/ec917d957b7d729711360bbc6c35abca to your computer and use it in GitHub Desktop.
Slimer on Travis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: ruby | |
rvm: | |
- 2.3.3 #reasonably recent | |
env: | |
- SLIMERJSLAUNCHER=$(which firefox) DISPLAY=:99.0 PATH=$TRAVIS_BUILD_DIR/slimerjs:$PATH #for slimer | |
addons: | |
firefox: "50.0" # for slimer | |
cache: bundler # Cache rubygems to speed up the build | |
before_script: | |
- . $HOME/.nvm/nvm.sh # Enable node installation | |
- nvm install stable # Install node | |
- nvm use stable # Use node | |
- npm install # Install project dependencies | |
- npm install -g casperjs [email protected] a11y # Install dependencies which prefer to be global | |
- sh -e /etc/init.d/xvfb start # start xvfb for slimer | |
script: npm run test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment