forked from thoughtworks/epirust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (38 loc) · 975 Bytes
/
.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
language: rust
sudo: required
matrix:
include:
- language: rust
rust: 1.42.0
branches:
only:
- master
addons:
apt:
packages:
- ca-certificates
- file
- build-essential
- autoconf
- automake
- autotools-dev
- libtool
- xutils-dev
- cmake
- pkg-config
- libfreetype6-dev
- libfontconfig1-dev
- xclip
script:
- cd $TRAVIS_BUILD_DIR/engine && cargo build --verbose --all && cargo test --verbose --all
- language: node_js
node_js: 12.16
branches:
only:
- master
before_script:
- cd $TRAVIS_BUILD_DIR/web && npm install
- cd $TRAVIS_BUILD_DIR/web/react-spa && npm install
- cd $TRAVIS_BUILD_DIR/web/server && npm install
script:
- cd $TRAVIS_BUILD_DIR/web && npm run test