Skip to content

Commit

Permalink
fix(CI): Migrating CI logic to package.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Rodriguez (pragmatismo.io) committed Nov 18, 2018
1 parent 0884c63 commit 8ee048f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.coveralls.yml
.env
.npmrc
.nyc_output
# WILLSHIP .nyc_output
coverage
# WILLSHIP dist
guaribas.log
Expand Down
8 changes: 0 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,11 @@ node_js:

notifications:
email: false

before_install:
- npm install --global nyc mocha shx

install:
- npm install

before_script:
- npm run build

script:
- npm run build-docs
- npm run coveralls

branches:
Expand All @@ -28,7 +21,6 @@ branches:

after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npm run typedoc
- npm pack

deploy:
Expand Down
9 changes: 3 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"scripts": {
"clean": "shx rm -rf node_modules/ dist/ docs/reference",
"tslint": "tslint --fix ./src/*.ts ./packages/**/*.ts -t verbose",
"build": "tsc",
"build": "npm install && npm run build-server && npm run build-gbui && npm run build-docs",
"build-server": "tsc",
"build-gbui": "cd packages/default.gbui && npm install && npm run build",
"build-docs": "typedoc --options typedoc.json src/",
"test": "nyc --reporter=html --reporter=text mocha -r ts-node/register packages/**/*.test.ts ",
"pretest": "npm run build",
Expand Down Expand Up @@ -93,6 +95,7 @@
"scanf": "^1.0.2",
"sequelize": "4.41.2",
"sequelize-typescript": "0.6.6",
"shx": "^0.3.2",
"simple-git": "^1.107.0",
"sqlite3": "4.0.4",
"strict-password-generator": "^1.1.1",
Expand Down Expand Up @@ -134,7 +137,6 @@
"pre-git": "3.17.1",
"prettier-standard": "8.0.1",
"semantic-release": "^15.12.0",
"shx": "^0.3.2",
"standard": "12.0.1",
"travis-deploy-once": "5.0.9",
"ts-loader": "^5.3.0",
Expand Down
13 changes: 9 additions & 4 deletions packages/default.gbui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ee048f

Please sign in to comment.