forked from mozilla/fxa-local-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (39 loc) · 933 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: cpp
services:
- redis-server
sudo: false
os:
- linux
- osx
addons:
apt_packages:
- graphicsmagick
- python-virtualenv
- libgmp3-dev
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
matrix:
- TRAVIS_NODE_VERSION="4.5"
matrix:
allow_failures:
- os: osx
- fast_finish: true
before_install:
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew install 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
- node --version
- npm --version
script:
- if [ $TRAVIS_NODE_VERSION == "4" ]; then export CXX=g++-4.8; fi
- npm config set spin false
- npm install
- ./test/curl.sh
after_failure:
- pm2 status