2015-10-02 18:31:56 +03:00
|
|
|
language: cpp
|
2014-11-05 04:38:23 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
- redis-server
|
|
|
|
|
2015-10-02 18:31:56 +03:00
|
|
|
sudo: false
|
|
|
|
|
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:
|
|
|
|
- TRAVIS_NODE_VERSION="0.10"
|
|
|
|
- TRAVIS_NODE_VERSION="0.12"
|
|
|
|
- TRAVIS_NODE_VERSION="4"
|
|
|
|
|
2015-06-05 18:08:03 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2015-10-02 18:31:56 +03:00
|
|
|
- env: TRAVIS_NODE_VERSION="0.12"
|
|
|
|
- env: TRAVIS_NODE_VERSION="4"
|
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:
|
2015-10-02 18:31:56 +03:00
|
|
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew install gmp graphicsmagick; fi
|
|
|
|
|
|
|
|
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:
|
2015-12-14 18:19:49 +03:00
|
|
|
- if [ $TRAVIS_NODE_VERSION == "4" ]; then export CXX=g++-4.8; fi
|
2015-10-02 18:31:56 +03:00
|
|
|
- npm config set spin false
|
|
|
|
- npm install
|
2014-11-13 00:20:29 +03:00
|
|
|
- sleep 30
|
2015-03-16 05:39:19 +03:00
|
|
|
- ./test/curl.sh
|