forked from saguijs/sagui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (46 loc) · 1.25 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
language: node_js
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash # until yarn is
- export PATH=$HOME/.yarn/bin:$PATH # pre-installed
script:
- node bin/ci.js
matrix:
include:
- sudo: false
env: TEST_TYPE=lint_and_test_unit
node_js: 6.11.1
# test creating a new project with the LTS version
- sudo: false
env: TEST_TYPE=test_create_project_npm
node_js: 6.11.1
# test creating a new project with the latest version
- sudo: false
env: TEST_TYPE=test_create_project_npm
node_js: 8.4.0
- sudo: false
env: TEST_TYPE=test_create_project_yarn
node_js: 6.11.1
# Test with Chrome available
- dist: trusty
addons:
chrome: stable
sudo: false
env:
- TEST_TYPE=integration_test
- BROWSER=Chrome
node_js: 6.11.1
cache:
directories:
- node_modules
before_deploy:
- npm prune
- npm run build
deploy:
skip_cleanup: true
provider: npm
email: [email protected]
api_key:
secure: uwtKe6c+QPSOi7QLCGmVw5cIxl4XDAhaxVWKmRT/GA5CUALjY7ZY1i9Kn6mjcIcvW9HxATU51BASSfq3otWoSJnJB+J3E0kMHJTDW5JMYbQoeu0jRz6ny/FnQoNGvtd3GEAxBkRLCmE0bUzA+1hY+ZxTF/k+zcn2jWcdZk6VGsE=
on:
tags: true
repo: saguijs/sagui