Skip to content

Commit 0fea0b7

Browse files
authored
Merge pull request #30 from tomyitav/travis-ci-improvements
fix: better travis testing
2 parents 67e5287 + ff5b0d9 commit 0fea0b7

File tree

7 files changed

+1424
-1435
lines changed

7 files changed

+1424
-1435
lines changed

.travis.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
language: node_js
22
branches:
3-
only:
4-
- master
5-
- /^greenkeeper/.*$/
6-
cache: false
3+
except:
4+
- /^v\d+\.\d+\.\d+$/
5+
cache:
6+
directories:
7+
- ~/.npm
78
notifications:
89
email: false
910
node_js:
10-
- node
11+
- '10'
12+
- '11'
13+
- '8'
1114
script:
1215
- npm run test:prod && npm run build
1316
after_success:
14-
- npm run report-coverage
15-
- npm run deploy-docs
16-
- npm run semantic-release
17+
- npm run travis-deploy-once "npm run report-coverage"
18+
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run deploy-docs"; fi
19+
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run semantic-release"; fi

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Cli tool for bootstrapping production grade GraphQL server, using:
2121

2222
## Installation
2323

24+
Please make sure you have Node.js version 8+, and type
25+
2426
```npm install -g generate-graphql-app```
2527

2628
### Init server command

0 commit comments

Comments
 (0)