forked from symfony/webpack-encore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (40 loc) · 852 Bytes
/
.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
sudo: false
language: node_js
cache:
yarn: true
directories:
- $HOME/.npm
matrix:
include:
- name: 'Lowest versions of the dependencies'
os: linux
node_js: "10"
env:
- JOB_PART=test
- DISABLE_UNSTABLE_CHECKS=1
install:
- rm yarn.lock
- node ./scripts/force-lowest-dependencies
- yarn
- name: 'Highest versions of the dependencies'
os: linux
node_js: "10"
env:
- JOB_PART=test
- DISABLE_UNSTABLE_CHECKS=1
install:
- rm yarn.lock
- yarn
- os: linux
node_js: "10"
env: JOB_PART=travis:lint
- os: linux
node_js: "11"
env: JOB_PART=test
- os: linux
node_js: "10"
env: JOB_PART=test
- os: linux
node_js: "8"
env: JOB_PART=test
script: npm run $JOB_PART