forked from sweetalert2/sweetalert2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (26 loc) · 830 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
language: node_js
dist: trusty
node_js: 8.1
addons:
firefox: latest
google-chrome: latest
before_script:
- gulp
script:
# unit tests against dist/sweetalert2.js
- xvfb-run testem ci --reporter dot
# unit tests against dist/sweetalert2.all.min.js
- sed -i 's/sweetalert2.js/sweetalert2.all.min.js/g' testem.json
- xvfb-run testem ci --reporter dot
# visual tests (puppeteer)
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then
npm i [email protected] looks-same && node test/puppeteer/visual-tests.js;
fi
deploy:
api_key:
secure: TaF0rF0+n/t3jchds6RSahdIwV+VozFEzGXdnwKzX8TnW2afGU7hh50BJHdQA6/mm0VbgxwAfIDMYU2luLwQn8CJCcJYp7g3+g8xsH15q8ny2AUmIkQQ2sWY43Vk1yMHIwzuAlHy5Pv5qKk8cYRVY5fwaCl/4KfvpIn4F2/DjwU=
email: [email protected]
provider: npm
notifications:
email:
on_success: never