-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
56 lines (49 loc) · 1.02 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
matrix:
allow_failures:
- os: windows
include:
- os: osx
osx_image: xcode9.4
language: rust
rust: nightly-2018-10-12
env:
- TRAVIS_NODE_VERSION="10"
- os: linux
language: rust
rust: nightly-2018-10-12
env:
- TRAVIS_NODE_VERSION="10"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-multilib
- g++-8
- g++-multilib
- os: windows
language: node_js
node_js:
- node
- os: windows
language: rust
rust: nightly-2018-10-12
env:
- TRAVIS_NODE_VERSION="10"
cache:
yarn: true
directories:
- node_modules
- $(npm config get prefix)/lib/node_modules
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX="g++-8"; fi
- nvm install $TRAVIS_NODE_VERSION
- nvm use ${TRAVIS_NODE_VERSION}
- node -v
- npm -v
- npm i -g yarn@latest
install:
- yarn
script:
- yarn build
- yarn test