Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Commit 2342b5f

Browse files
committed
chore: Run npm build and test scripts for travis.
1 parent 6a6f408 commit 2342b5f

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.travis.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1+
# use ubuntu linux.
2+
os: linux
3+
dist: trusty
4+
5+
# run in container.
6+
sudo: false
7+
8+
# use nodejs environment.
19
language: node_js
2-
node_js:
3-
- "10"
10+
node_js: "10"
11+
12+
# run npm install.
413
before_script:
514
- export DISPLAY=:99.0
615
- sh -e /etc/init.d/xvfb start
16+
- sleep 3
17+
- npm install
18+
19+
# run npm build and test scripts.
20+
script:
21+
- npm run build
22+
- npm run test

0 commit comments

Comments
 (0)