-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (31 loc) · 565 Bytes
/
.travis.yml
File metadata and controls
38 lines (31 loc) · 565 Bytes
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
os:
- linux
language: node_js
addons:
apt:
packages:
- time
cache:
npm: true
node_js:
- "10"
- "12"
- "14"
script:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
npm run eslint;
fi
- npm run test-cov
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
./test/benchmark.sh;
fi
after_script:
- npm install coveralls
- nyc report --reporter=text-lcov | coveralls
deploy:
provider: surge
project: ./0x/
skip_cleanup: true
domain: "${TRAVIS_COMMIT}-${TRAVIS_NODE_VERSION}-hexo.surge.sh"
on:
all_branches: true