forked from vaadin/vaadin-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 971 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
sudo: false
dist: trusty
language: node_js
node_js: 8.0
cache:
directories:
- node_modules
- bower_components
install:
- npm install
- polymer install
before_script:
- gulp lint
#- polymer lint --rules polymer-2 --input *.html
# - xvfb-run -s '-screen 0 1024x768x24' polymer test -l chrome
# - xvfb-run -s '-screen 0 1024x768x24' polymer test -l firefox
env:
- TEST_SUITE=mobile
- TEST_SUITE=polyfilled
- TEST_SUITE=desktop
script:
- xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs:$TEST_SUITE --expanded --verbose
#- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then
# npm i gemini@^4.0.0 gemini-sauce gemini-polyserve;
# gemini test test/visual;
# fi
# - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then
# xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs-cron;
# fi
after_success:
# - "cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls"