forked from neon-bindings/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (48 loc) · 1.23 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
matrix:
allow_failures:
- os: windows
include:
- os: osx
language: rust
rust: nightly-2019-09-01
env:
- TRAVIS_NODE_VERSION="12"
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux
language: rust
rust: nightly-2019-09-01
env:
- TRAVIS_NODE_VERSION="12"
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-multilib
- g++-8
- g++-multilib
- os: windows
language: rust
rust: nightly-2019-09-01
env:
- TRAVIS_NODE_VERSION="12"
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
cache:
- yarn: true
- cargo: true
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 neon-cli@latest lerna@latest
- npm install
script:
- lerna bootstrap
- lerna run install
- yarn test