Skip to content

Commit 5ee8930

Browse files
committed
feat(CI): setup travis
1 parent ae5388b commit 5ee8930

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
sudo: false
2+
language: node_js
3+
node_js:
4+
- "9.4.0"
5+
6+
env:
7+
global:
8+
- YARN_VERSION=1.3.2
9+
10+
before_install:
11+
- export PATH="$HOME/.yarn/bin:$PATH"
12+
- |
13+
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
14+
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
15+
fi
16+
17+
script:
18+
- yarn run build
19+
20+
cache:
21+
yarn: true
22+
directories:
23+
- "~/.yarn"
24+
- node_modules
25+
26+
notifications:
27+

0 commit comments

Comments
 (0)