Skip to content

Commit

Permalink
Change default port to 4001 and refactor travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Utwo committed Oct 2, 2018
1 parent 630d675 commit 1187564
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ cache:
directories:
- ~/.npm
- ~/.cache
# - node_modules
install:
- npm install

script:
- cp config/config.example.js config/config.js
- npm run linter
- npm run build
- npm run dev & wait-on http://localhost:4001
- npm start & wait-on http://localhost:4001
- npm run test:e2e
after_success:
- npm run lh
Expand Down
2 changes: 1 addition & 1 deletion config/config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ const next = require('./next.config');

module.exports = {
next,
port: 4000,
port: 4001,
baseUrl: '',
};

0 comments on commit 1187564

Please sign in to comment.