-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (35 loc) · 938 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
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: required
dist: xenial
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
language: node_js
node_js:
- 14
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- $HOME/.npm
- node_modules
# http://docs.travis-ci.com/user/build-lifecycle/
before_install:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- source "$HOME/.cargo/env"
install:
- yarn install
- yarn add -g ts-node@latest typescript@latest
- npm run build
# http://docs.travis-ci.com/user/pull-requests/
script:
- npm test
after_script:
- 'cat coverage/lcov.info | ./node_modules/.bin/coveralls' # sends the coverage report to coveralls
notifications:
email: false