forked from summernote/summernote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.22 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
language: node_js
sudo: false
node_js: 8
cache:
directories:
- node_modules
before_install:
- sudo add-apt-repository ppa:fontforge/fontforge -y
- sudo apt-get update -q
- sudo apt-get install fontforge ttfautohint -y
before_script:
- node --version
- npm --version
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then node test/e2e/static-server.js & fi
script:
- npm run test:travis
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then npm run test:saucelabs; fi
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then npm run test:e2e-saucelabs; fi
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then pkill node; fi
before_deploy:
- npm install
- npm run build
- npm run dist
deploy:
provider: npm
email: [email protected]
api_key:
secure: TYJfuTLZKbYvTskuMlmuKnQb5F35GFPN2AqSf0RtZYWGLozIaIkKcpTVbjzo859FWuxPjci53FGiJih3+0iVfIC39CDTrFZutubn8qduOfRAVTL1WzeQvdww8miJNwUY59HmoOa78OtbNCVg/N7zFSZzRXAcgje8IADQFIISwk8=
on:
tags: true
branch: develop
addons:
sauce_connect:
username: 'summernoteis'
access_key:
secure: "E9Mq/lKN1xNA+PungEtlDEYqx5Dm52GPuvRMjZPkv5GiuFjof70CuqOIbqSh5YcDvn6/FmPlmlcZVNcXGzKkkSY9qqFpsbmsu2VXmbHlmpjr0Yhm7LQLoZYj+fmrO3WITai6yEyvb8cjGTjHhTjULDORJgC9U4DLfzju5OQFW0Q="
after_success:
- npm run coveralls