Browse Source

Merge pull request #652 from targos/travis

simplify travis config
v1.x
Linus Unnebäck 9 years ago
parent
commit
2fc1316da7
  1. 11
      .travis.yml

11
.travis.yml

@ -12,13 +12,16 @@ addons:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- g++-4.8
env:
- CXX=g++-4.8
before_install:
- if [[ $TRAVIS_NODE_VERSION == 0.8 ]]; then npm install -g npm@1.4.28; fi
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version
- sudo chown -R $USER /usr/local
- sh install
- npm explore npm -g -- npm install node-gyp@latest
after_script:
- npm run benchmark
sudo: false

Loading…
Cancel
Save