forked from ember-cli/ember-cli-update
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (45 loc) · 1.46 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
language: node_js
node_js:
- '4'
- 'node'
branches:
only:
- master
- /^greenkeeper\/.*$/
# npm version tags
- /^v\d+\.\d+\.\d+$/
cache:
directories:
- "$HOME/.npm"
env:
- TEST_COMMAND=test:bin
- TEST_COMMAND=test:command
- TEST_COMMAND=lint
before_install:
- npm config set spin false
- if [ "$TRAVIS_NODE_VERSION" = "4" ]; then
npm install -g npm@5;
npm --version;
export NODE_LTS="true";
fi
script:
- npm run $TEST_COMMAND
jobs:
exclude:
- node_js: '4'
env: TEST_COMMAND=lint
include:
- stage: Deploy
cache: ignore
env: ignore
before_install: ignore
install: ignore
script: ignore
deploy:
provider: npm
email: [email protected]
api_key:
secure: fsaEla75b+L0VNtqjKckCo/mETVvfy6ldQl14fJUtwwe4356aiSnUAxdwMSgbtpCi6pX1mjQqDVKTzTTUuuDKGwzUoYnpaBzxPO0UhGEQQ2tofU6SS3/sPqW4YVIw313cHaAKwccjT9wt2z8K6o6wqa+V5kwOMda8sbfxZGA6bykzHw/4p6a7X+CzDNzN6EkjhtnQ1EDBlcrhfOlZfXS9tb5B2LCn7YsKYDLJG3QyYU3SuQOllrDBdDieG+7NVeNvFFGRJEg967L1HLjNN2cR6D7EjVpbgJhI/l8U7Yzk/CKHqkZH0aeRRxub/oTMU5yHHOkA6jC0lXewuruPN6CeQVwDucpnANEM79veBMcYGo9wJAeN7a1QsR5mE/wKhm19XFvFPF2Q8mRMWwjlVWNK1oxobB3K9vmxU2jtpA8nAVhFjMjPeFQDASHC/SYrBuj5oTTQMJMS8kPIj0HMALISGoOZpels/BncWQlFTM9xWRJCZXEm+FiZKi1QtzKnDft+7F0BLtuPF4BtVuK355/pxMr5c+ZFd8pk5dvBMmK2o9d1fvs6vIOItUWfeWaQoU3uZx+HI9WJy9B7SwkwylBPxCEsR+/kAo9A9xL1IV5MHfCWoskJDJeYc/sYrke3DoitAn86wI0zOeKX800RZYhGSlpCUUqcKKJZ/+w7jhu7+Y=
on:
tags: true
repo: ember-cli/ember-cli-update