forked from SAP/luigi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (28 loc) · 1.5 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
language: node_js
node_js:
- '11.14' #TODO: change it to 'node' once Travis supports the newest version
dist: trusty
install: npm install --prefix core
notifications:
slack:
secure: QwIOjeEBI7jBFtNi+emfq4vVmASXMQZsEaNebwxwN7Kwql+j5qgp9tbtfCKPeYWVjTUKzN0UdugJawNd3mQIWhL4vovVWjURxTSZnGMHWErqljiqycfA+XqfgizfsTueppry2KJk09QVf74JLliwJWQTmeJwm/lm6O/ljCYFFWUC2us6m225+Oaq3MeMhD7k1j8+kG5jRO22nN5Zzh3ZTj85+adLldUmZsvbzYYcI/sSjfMgY5Gzd9zHl5FUgdu2UWELKptDJNqS5B5b4tiou2Ah9ArcDuhiTfZrkwwCJh+8w2Rr2NPEbZbgchR9hjSUqtFTqgo3bdlHkHp9RiWAEN3J3rlJ3SvODFTp0qcwf2e4TX0GouGQY++6YHZB1GLhaxCz8H08V9d7DjljSOappyZFJHq9fQoS8znBn89rC8q2K90D7laACARFFSqluqx9TaYp7jUoqTkv60d1dD1JmDxHx3cFfWGYsWOKdUaDPfqEYr0LzH0sKsEuf2qVRnKVLqIZtMn9G2cBQc3EraiHwRcW6kqoYUzW8I1m6gr/T+ITgWIhK0voY2E28zTZTbAPoqWa1Wtrk2DVD5UyR6ebH6zv1s+Y2xzyxxkLsvZFzrXACj+oSU66sP1yUhUpTpQ+HFpakJKbOfiJP9tGpnvkah3IfpiKgisG0ARaenjStm0=
jobs:
include:
#----- UNIT -----
- stage: 'Tests'
name: 'Unit Tests'
script: npm test --prefix core
#no cache for unit tests = more speed
#----- INTEGRATION -----
- name: 'Integration Tests'
script: bash ./test/e2e.sh
cache:
directories:
- npm: true
- ~/.cache
addons:
chrome: stable
before_install:
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
before_cache:
- rm -rf ~/.cache/Cypress/cy/production/browsers #it is individual for each run anyway so caching it slows down the job