/
.travis.yml
46 lines (42 loc) · 1.05 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
dist: bionic
language: node_js
node_js: 12
services:
- docker
before_install:
- if [[ $TRAVIS_EVENT_TYPE == "cron" ]]; then
export NODE_TAG=master;
export COMPILER_TAG=latest;
export FORCE_COMPATIBILITY=true;
fi
- docker-compose up -d
install: npm ci --ignore-scripts
jobs:
include:
- stage: Tests
name: Test AENS
script:
- npm run test:integration:aens
- npm run report-coverage
- name: Test Channel
script:
- npm run test:integration:channel
- npm run report-coverage
- name: Test Contract, Node, Oracle, Account and else
script:
- npm run lint
- npm run build
- npm run test:unit
- npm run report-coverage
- npm run test:integration:else
- npm run report-coverage
- npm run docs:docco
- npm run docs:api
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: docs
on:
branch: master