Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit ad8a376

Browse files
chore(build): add .travis.yml
1 parent f22527b commit ad8a376

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- node_modules
5+
notifications:
6+
email: false
7+
node_js:
8+
- '7'
9+
- '6'
10+
- '4'
11+
before_install:
12+
- export CHROME_BIN=chromium-browser
13+
- export DISPLAY=:99.0
14+
- sh -e /etc/init.d/xvfb start
15+
- npm i -g yarn
16+
before_script:
17+
- npm prune
18+
after_success:
19+
# Release to npm
20+
- npm run semantic-release
21+
# Send coverage data to Codecov
22+
- bash <(curl -s https://codecov.io/bash)
23+
branches:
24+
except:
25+
- /^v\d+\.\d+\.\d+$/

0 commit comments

Comments
 (0)