2015-10-02 18:31:56 +03:00
|
|
|
language: cpp
|
2014-11-05 04:38:23 +03:00
|
|
|
|
2016-11-24 01:27:48 +03:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2015-10-02 18:31:56 +03:00
|
|
|
|
2014-11-05 04:38:23 +03:00
|
|
|
os:
|
2014-11-05 05:06:26 +03:00
|
|
|
- linux
|
2014-11-05 04:38:23 +03:00
|
|
|
- osx
|
|
|
|
|
2015-10-02 18:31:56 +03:00
|
|
|
addons:
|
|
|
|
apt_packages:
|
|
|
|
- graphicsmagick
|
|
|
|
- python-virtualenv
|
|
|
|
- libgmp3-dev
|
2015-12-09 06:44:13 +03:00
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2015-10-02 18:31:56 +03:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2016-09-22 18:29:33 +03:00
|
|
|
- TRAVIS_NODE_VERSION="4.5"
|
2015-10-02 18:31:56 +03:00
|
|
|
|
2015-06-05 18:08:03 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2015-12-14 22:12:02 +03:00
|
|
|
- os: osx
|
2015-07-10 21:50:49 +03:00
|
|
|
- fast_finish: true
|
2015-06-05 18:08:03 +03:00
|
|
|
|
2014-11-05 04:38:23 +03:00
|
|
|
before_install:
|
2016-09-28 01:53:06 +03:00
|
|
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew install graphicsmagick; fi
|
2015-10-02 18:31:56 +03:00
|
|
|
|
|
|
|
install:
|
|
|
|
- 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
|
|
|
|
- PATH="`npm bin`:`npm bin -g`:$PATH"
|
|
|
|
- npm install -g npm@2
|
2014-11-05 04:43:08 +03:00
|
|
|
- node --version
|
2014-12-29 04:40:02 +03:00
|
|
|
- npm --version
|
2014-11-05 04:38:23 +03:00
|
|
|
|
|
|
|
script:
|
2016-10-17 05:23:12 +03:00
|
|
|
- if [ $TRAVIS_NODE_VERSION == "4.5" ]; then export CXX=g++-4.8; fi
|
2015-10-02 18:31:56 +03:00
|
|
|
- npm config set spin false
|
|
|
|
- npm install
|
2015-03-16 05:39:19 +03:00
|
|
|
- ./test/curl.sh
|
2016-07-12 16:05:31 +03:00
|
|
|
|
|
|
|
after_failure:
|
|
|
|
- pm2 status
|