Skip to content

Commit ff78157

Browse files
committed
ci: Setting up travis since github Actions is evil
1 parent 2a0ece0 commit ff78157

File tree

2 files changed

+16
-36
lines changed

2 files changed

+16
-36
lines changed

.github/workflows/nodejs.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: false
7+
node_js:
8+
- '10'
9+
script:
10+
- npm run test:prod && npm run build
11+
after_success:
12+
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run deploy-docs"; fi
13+
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run semantic-release"; fi
14+
branches:
15+
except:
16+
- /^v\d+\.\d+\.\d+$/

0 commit comments

Comments
 (0)