fxa/.travis.yml

51 строка
1.0 KiB
YAML
Исходник Обычный вид История

language: cpp
2014-11-05 04:38:23 +03:00
services:
- redis-server
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
addons:
apt_packages:
- graphicsmagick
- python-virtualenv
- libgmp3-dev
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
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:
- 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:
- 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:
- if [ $TRAVIS_NODE_VERSION == "4" ]; then export CXX=g++-4.8; fi
- 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