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

Commit

Permalink
chore: Run npm build and test scripts for travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
hastebrot committed May 12, 2019
1 parent 6a6f408 commit 2342b5f
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# use ubuntu linux.
os: linux
dist: trusty

# run in container.
sudo: false

# use nodejs environment.
language: node_js
node_js:
- "10"
node_js: "10"

# run npm install.
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm install

# run npm build and test scripts.
script:
- npm run build
- npm run test

0 comments on commit 2342b5f

Please sign in to comment.