forked from openstf/stf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (49 loc) · 1.06 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
language: cpp
os:
- linux
- osx
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libzmq3-dev
- libprotobuf-dev
- graphicsmagick
- rethinkdb
- g++-4.9
- yasm
env:
matrix:
- NODE_VERSION=0.12
- NODE_VERSION=4
matrix:
allow_failures:
- os: osx
fast_finish: true
before_install:
- rm -rf ~/.nvm && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install $NODE_VERSION
- node --version
- npm --version
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then export CXX=g++-4.9; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install rethinkdb graphicsmagick zeromq protobuf yasm pkg-config; fi
install:
- npm install
- export PATH=$PWD/node_modules/.bin:$PATH
before_script:
# - rethinkdb --daemon
script:
- npm test
# - ./bin/stf local
- gulp build
after_script:
# - killall rethinkdb
cache:
directories:
- node_modules
- res/bower_components
notifications:
slack: openstf:qu01BtEgttJOrGGsRxKBJwki