Skip to content

Commit 2454b59

Browse files
chore: update travis config
1 parent 87719a1 commit 2454b59

File tree

2 files changed

+23
-29
lines changed

2 files changed

+23
-29
lines changed

.travis.yml

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,36 @@
11
if: tag IS blank
22
language: node_js
3-
node_js: '10.16'
43
cache: yarn
5-
64
before_install:
7-
- export PATH="$HOME/.yarn/bin:$PATH"
8-
- |
9-
function npm_tag() {
10-
if [[ "$TRAVIS_BRANCH" = "master" ]];
11-
then
12-
echo "latest"
13-
else
14-
echo "next"
15-
fi
16-
}
17-
5+
- export PATH="$HOME/.yarn/bin:$PATH"
6+
- |
7+
function npm_tag() {
8+
if [[ "$TRAVIS_BRANCH" = "master" ]];
9+
then
10+
echo "latest"
11+
else
12+
echo "next"
13+
fi
14+
}
1815
install:
19-
- yarn --offline
20-
16+
- yarn --offline
2117
before_script:
22-
- yarn lint
23-
- yarn coverage
24-
- yarn coverage-report
25-
- yarn bump-version
26-
18+
- yarn lint
19+
- yarn coverage
20+
- yarn coverage-report
21+
- yarn bump-version
2722
script:
28-
- yarn build
29-
23+
- yarn build
3024
deploy:
3125
provider: npm
26+
edge: true
3227
33-
skip_cleanup: true
34-
api_key: $NPM_TOKEN
35-
tag: $(npm_tag)
28+
api_key:
29+
secure: Os/7aONBeoW6FiDKfYoNSlhbMGY7tWcrOf6OLmJgMYnvUKV9nDU0wYBfX6qJ+KtyLIDT3zRxvzBgPDwl67CiBgbx8WA2nVlSRJgrYMZBDR0o7EMtuGfNKcwJqK0GSCcYDU21hrjhiYipqHNk7e2Pqttjyvu1lSEGGdu0u12gf3sPCMxxlyeack9ww+7BylczVTZau2zllKeIJmn7bO3UUQSIgHoLC+TbcTLc9vD/OXeGSk2jV7wArt0nPGD3kuiaxa87RErEzlC+6nvh9hbIhyV/Y65EhKKO+Bems7lE3A1XpyMNw09+XBTcZXRwVLmQPkRVQMS9MS6E4umTXs5Xmtk/ru1/Jn+jSQWCs1WpdT5QDHrVRACSK7IK3RWneAxyr6uqnP4HRRCXQT/NcMUvZncmgR4AMrEdMP3jqYKfLowxvwcKdm1hyCTfdIopfVqNJc0bMX8tqY/ud1Y0nOvfOYYnRLY9YqUxabUGGL5Uaes0HEZ+iANldI8vaQLm7GpUEZ0PZsaJ8cSAYv2qguWuKETiJR2JinGj1pWXxfXkN0vPuiEexHCAq0DvP0+SlnPUsjCRgUMhG/Oq1O9Xtg+6oph44P1jqPrgoopVsR7awRciHjALUcx10uMVZaUE1cs+oj4sapqjKFD2dhrAZVdOJ4RI9Gky/Z1fnTkktyIIn2k=
30+
tag: "$(npm_tag)"
3631
on:
3732
repo: DanielSchaffer/webpack-babel-multi-target-plugin
3833
all_branches: true
39-
condition: $TRAVIS_BRANCH =~ ^master|release\/[0-9]+\.[0-9]+\.[0-9]$
40-
34+
condition: "$TRAVIS_BRANCH =~ ^master|release\\/[0-9]+\\.[0-9]+\\.[0-9]$"
4135
after_deploy:
42-
- ./script/push
36+
- "./script/push"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"es6",
1616
"es7"
1717
],
18-
"version": "2.3.3",
18+
"version": "2.5.0-next.0",
1919
"author": {
2020
"name": "Daniel Schaffer",
2121
"email": "[email protected]",

0 commit comments

Comments
 (0)