-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (45 loc) · 1.19 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
matrix:
allow_failures:
- os: windows
include:
- os: osx
language: rust
rust: nightly-2018-10-12
env:
- TRAVIS_NODE_VERSION="11"
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- os: linux
language: rust
rust: nightly-2018-10-12
env:
- TRAVIS_NODE_VERSION="11"
- 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-2018-10-12
env:
- TRAVIS_NODE_VERSION="11"
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
cache: cargo
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
- lerna bootstrap
- lerna run install
script:
- yarn test