Skip to content

Commit

Permalink
WPS-14 chore(ci): setup heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Xesenix committed Feb 25, 2018
1 parent 9e51ba7 commit d483b0c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
25 changes: 14 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
language: node_js
node_js:
- "9"
- "8"
- '9'
- '8'
branches:
only:
- master
- /^greenkeeper/.*$/
- master
- "/^greenkeeper/.*$/"
cache:
yarn: true
directories:
- node_modules
- node_modules
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm run test
- npm run build:prod
- npm run test
- npm run build:prod
after_success:
- npm run report-coverage
- npm run report-coverage
deploy:
api_key:
secure: qG1OqSMVLEPLh12aWG2guidQIVnxqi29iz/9RF/MawEUHmHrI9veeOnv5vrPYw3wajyQ75xaoJ1UOgiW2N+EyPs5UTgicDkoFrtvMtkyq7wEWzNgfKivo6ydd72C9pzPVRBxuJutZuqQqh1utjCTK57CQqHAmsHhRp1O0yvTTFX1zodXBXQyQKqQT2gLP8XmCq/kNLCrfoZXe4Jy4jkI5gHWvyoFlnzCAKlaIlYFoF92lCqhaZP4KC2lcnffqTQJuKVRkIKKn4x6ZumV4TALi5zMQROYeby/KEgJTNbBnAHW0zdrGKm9YSEw0JJUEu0OlXS55bEY8+rGrvWUvS/Bg3BBJjeahKtAT7T4pUtWzekEJFCnJIBKCH8KQrI4Z1vSeKXwEa5PBCUVvlIq39Y3V2MnoOcw0nhj/8s5Mnf41+gxH8RT3LgnZaF+RdLo/FwZKemkDe0VEjt8yS/ugZPxPU+m1/LyZTm1h/15Fj8UZrviVp9t4ngS63BykFfXrof+v1g/z0GZst9N4EL+Q8z2AWjIk+7WeuiBAX/dqBNazeSwF+uICl+WWQh4EEifZtn0Bq1GgVln88gKU7lLhZB6z0kttzG7JYcQj8bO5irc2yWmLGeyXa3RdjvUkrsapj1Vv7kWomxVRG07Skyro8MeDZUrYGrFkjvBhWC5y58EYkA=
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ Some additional resources that can clarify concepts behind this scaffold project
* [React testing with Karma](https://www.codementor.io/kimagure/testing-reactjs-components-with-karma-and-webpack-8sdzi6hkf)
* [Istanbul Test Coverage](https://github.com/webpack-contrib/istanbul-instrumenter-loader)
* [Testing React with Enzyme](https://github.com/airbnb/enzyme/tree/master/packages/enzyme-adapter-react-16)
* [Authentication with PassportJs](http://www.passportjs.org/docs)

## Project managment related resources

* [Travis CLI installation](https://github.com/travis-ci/travis.rb#installation)
* [Setup Travis Heroku build hook](https://docs.travis-ci.com/user/deployment/heroku/)
* [Continous Integration Travis](https://docs.travis-ci.com)
* [Continous Integration for Windows with Appveyor](https://www.appveyor.com/docs/)
* [Badges](https://shields.io/)
Expand Down

0 comments on commit d483b0c

Please sign in to comment.