Skip to content

Commit 564a9c9

Browse files
author
JelteMX
committed
Add build
1 parent 3a36a37 commit 564a9c9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
dist: xenial
2+
language: node_js
3+
node_js:
4+
- 10
5+
cache: npm
6+
branches:
7+
only:
8+
- master
9+
env:
10+
global:
11+
# List of all touched files, excluding paths starting with 'packages'
12+
- CHANGED_GLOBAL_FILES=$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep -v "^packages")
13+
before_script:
14+
- echo $TRAVIS_COMMIT_RANGE
15+
- echo $CHANGED_GLOBAL_FILES
16+
jobs:
17+
include:
18+
- name: "Lint"
19+
script: npm run lint
20+
- name: "Build"
21+
script: npm run build
22+
# Only doing unit tests now as e2e still needs to be finished up
23+
- name: "Unit tests"
24+
script: npm run test:travis

0 commit comments

Comments
 (0)