Skip to content

Commit

Permalink
Seperate before_install and before_script.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed May 25, 2016
1 parent c688f04 commit f0e067a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ addons:
- g++-4.8
- gcc-4.8

before_script:
before_install:
# reinstall latest nvm
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh
- nvm install $TRAVIS_NODE_VERSION
Expand All @@ -36,6 +36,7 @@ before_script:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version

before_script:
# Start xvfb
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
Expand Down

0 comments on commit f0e067a

Please sign in to comment.