forked from tidepool-org/blip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (36 loc) · 936 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
44
45
language: node_js
os: linux
dist: jammy
node_js:
- "10.14.2"
- node
cache:
yarn: true
directories:
- node_modules
before_install:
- if [[ `npm -v` != 6* ]]; then npm install -g npm@6; fi
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
- export PATH="$HOME/.yarn/bin:$PATH"
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
- docker pull docker.io/docker/dockerfile:experimental
- docker pull docker.io/library/node:10.14.2-alpine
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
install:
- yarn install --frozen-lockfile
addons:
artifacts:
region: us-west-2
paths:
- $(git ls-files -o deploy/*/*-*.tar.gz | tr "\n" ":")
target_paths:
- /
chrome: stable
services:
- docker
script:
- npm test
- ./artifact.sh
jobs:
allow_failures:
- node_js: node