Skip to content

Commit

Permalink
[ft -#166720110] final migration merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Mutabazi authored and Frank Mutabazi committed Jun 22, 2019
2 parents 2ccafb8 + 4b32e50 commit 86da7e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ cache:
- 'node_modules'
script:
- npm test

before_script:
- psql -c 'create database travis_ci_test;' -U postgres
services:
- postgresql
deploy:
provider: heroku
api_key:
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@
"coverage": "nyc report --reporter=text-lcov | coveralls",
"eslint": "eslint . --cache --fix",
"setup:test": "NODE_ENV=test npm run migrate:undo && NODE_ENV=test npm run migrate && NODE_ENV=test npm run seed",
"setup:dev": "NODE_ENV=development npm run db:init && NODE_ENV=development npm run migrate:undo && NODE_ENV=development npm run migrate && NODE_ENV=development npm run seed",
"setup:dev": "NODE_ENV=development npm run migrate:undo && NODE_ENV=development npm run migrate && NODE_ENV=development npm run seed",
"precommit": "lint-staged",
"migrate": "node_modules/.bin/sequelize db:migrate",
"seed": "node_modules/.bin/sequelize db:seed:all",
"migrate:undo": "node_modules/.bin/sequelize db:migrate:undo:all",
"db:init": "./node_modules/.bin/babel-node src/helpers/sequelize.initializer.js"
"migrate:undo": "node_modules/.bin/sequelize db:migrate:undo:all"
},
"lint-staged": {
"*.js": [
Expand Down

0 comments on commit 86da7e2

Please sign in to comment.