-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
36 lines (35 loc) · 1013 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
language: node_js
node_js:
- "11"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- librsvg2-dev
- g++-4.9
cache:
directories:
- "node_modules"
env:
global:
- CC_TEST_REPORTER_ID=247940278ee96e74528e338cb058b98d57588e7f9220497cbc414ba3df92c72f
- NODE_ENV=test
- PORT=5037
- LOCAL_URL=http://127.0.0.1:3001
- GATEWAY_URL=http://127.0.0.1:9000
- MICROSERVICE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Im1pY3Jvc2VydmljZSIsImNyZWF0ZWRBdCI6IjIwMTYtMDktMTQifQ.IRCIRm1nfIQTfda_Wb6Pg-341zhV8soAgzw7dd5HxxQ
- FASTLY_ENABLED=false
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- yarn test
- yarn run coverage
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT