-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 725 Bytes
/
.travis.yml
File metadata and controls
34 lines (34 loc) · 725 Bytes
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
sudo: required
language: node_js
os:
- linux
node_js:
- "12"
services:
- xvfb
addons:
chrome: stable
before_script:
- >-
LATEST_CHROMEDRIVER_VERSION=`curl -s
"https://chromedriver.storage.googleapis.com/LATEST_RELEASE"`
- >-
curl
"https://chromedriver.storage.googleapis.com/${LATEST_CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
-O
- unzip chromedriver_linux64.zip -d ~/bin
before_install:
- node --version
- npm --version
- "export DISPLAY=:99.0"
- pip install --user codecov
after_success:
- npm run coverage_lcov
- codecov
script:
# Run linting and unit tests
- npm run cibuild-travis
# Create distribution bundles
- npm run build
# Run E2E tests
- npm run e2e