forked from nasa-gibs/worldview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
123 lines (112 loc) · 2.95 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
env:
global:
- MOZ_HEADLESS=1
cache:
directories:
- node_modules
- .python
npm: true
pip: true
install: npm ci
script:
- npm test
- npm run build
matrix:
fast_finish: true # don't wait for allowed failures to determine overall build status
allow_failures:
- os: windows
- node_js: lts/*
- name: 'Node.js 10.16.3 - Chrome E2E'
include:
- os: osx
name: 'Node.js 10.16.3 - Chrome E2E'
language: node_js
node_js: '10.16.3'
osx_image: xcode11.2
addons:
chrome: stable
before_install:
- "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --headless --disable-gpu --remote-debugging-port=9222 http://localhost &"
script:
- npm run build:ci
- npm run start &
- npm run e2e:headless:chrome:localStorageDisabled
- npm run e2e:headless:chrome
- os: osx
language: node_js
node_js: lts/* # latest LTS Node.js release
osx_image: xcode11.2
- os: osx
language: node_js
node_js: '12.17.0'
osx_image: xcode11.2
- os: linux
name: 'Node.js 10.16.3 - Firefox E2E'
dist: xenial
language: python
node_js: '10.16.3'
python: '3.7'
sudo: required
addons:
firefox: latest
before_install:
- python --version
- python3 --version
- nvm install 10.16.3
script:
- npm run build:ci
- npm run start &
- npm run e2e:headless:firefox:localStorageDisabled
- npm run e2e:headless:firefox
- os: linux
dist: xenial
language: python
node_js: 'lts/*'
python: '3.7'
sudo: required
before_install:
- python --version
- python3 --version
- nvm install lts/*
- os: linux
dist: xenial
language: python
node_js: '12.17.0'
python: '3.7'
sudo: required
before_install:
- python --version
- python3 --version
- nvm install 12.17.0
- os: windows
language: node_js
node_js: lts/* # latest LTS Node.js release
before_install:
- choco install python --version 3.7.5
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- python --version
- python -m ensurepip
- pip install virtualenv
- python -m venv $HOME/venv
- source $HOME/venv/Scripts/activate
cache:
directories:
- $HOME/venv
- c:/Python37
- c:/Python37/Scripts
- os: windows
language: node_js
node_js: '12.17.0'
before_install:
- choco install python --version 3.7.5
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- python --version
- python -m ensurepip
- pip install virtualenv
- python -m venv $HOME/venv
- source $HOME/venv/Scripts/activate
cache:
directories:
- $HOME/venv
- c:/Python37
- c:/Python37/Scripts