forked from balena-io/etcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
70 lines (61 loc) · 1.34 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
62
63
64
65
66
67
68
69
70
language: cpp
sudo: false
env:
- NODE_VERSION="6.1.0" RUBY_VERSION="2.3.1"
os:
- linux
- osx
# C++11 support
# See https://github.com/PacificBiosciences/pbdagcon/pull/7
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- upx-ucl
- gcc-4.8
- g++-4.8
- clang
before_install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm --version
- nvm install $NODE_VERSION
- node --version
- npm --version
- npm config set spin=false
- rvm install $RUBY_VERSION
- rvm use $RUBY_VERSION
install:
- if [ "$CXX" = "g++" ]; then
export CXX="g++-4.8" CC="gcc-4.8";
fi
- gem install scss_lint
- npm install -g bower
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
./scripts/build/linux.sh install x64;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install afsctool;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
./scripts/build/darwin.sh install;
fi
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi
script:
- npm test
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/0a019c8b9828eb9f6a72
on_success: change
on_failure: always
on_start: never