forked from tidepool-org/blip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (41 loc) · 1.16 KB
/
.travis.yml
File metadata and controls
50 lines (41 loc) · 1.16 KB
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
language: node_js
os: linux
dist: xenial
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 &
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-cache madison docker-ce
- sudo apt-get -y install docker-ce=5:19.03.5~3-0~ubuntu-xenial
- docker version
- docker pull docker.io/docker/dockerfile:experimental
- docker pull docker.io/library/node:10.14.2-alpine
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