forked from domxjs/domx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (60 loc) · 1.44 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
sudo: false
language: node_js
node_js:
- '16'
notifications:
email: false
branches:
only:
- master
- packages/functional
- packages/EventMap
- packages/Middleware
- packages/linkProp
- packages/StateChange
- packages/testUtils
- packages/DataElement
- packages/Router
cache:
directories:
- node_modules
before_install:
- npm update
install:
- npm install
matrix:
include:
- name: domx
env: PACKAGE_LOCATION=.
if: branch = master
- name: functional
env: PACKAGE_LOCATION=packages/functional
if: branch = packages/functional
- name: EventMap
env: PACKAGE_LOCATION=packages/EventMap
if: branch = packages/EventMap
- name: Logger
env: PACKAGE_LOCATION=packages/Middleware
if: branch = packages/Middleware
- name: linkProp
env: PACKAGE_LOCATION=packages/linkProp
if: branch = packages/linkProp
- name: StateChange
env: PACKAGE_LOCATION=packages/StateChange
if: branch = packages/StateChange
- name: testUtils
env: PACKAGE_LOCATION=packages/testUtils
if: branch = packages/testUtils
- name: DataElement
env: PACKAGE_LOCATION=packages/DataElement
if: branch = packages/DataElement
- name: Router
env: PACKAGE_LOCATION=packages/Router
if: branch = packages/Router
- name: StateController
env: PACKAGE_LOCATION=packages/StateController
if: branch = packages/StateController
script:
- npm run clean
- npm run build
- npm run test $PACKAGE_LOCATION