Skip to content

Commit

Permalink
support create-react-app by default
Browse files Browse the repository at this point in the history
pass warning as local build
facebook/create-react-app#3657
  • Loading branch information
gasolin authored Feb 27, 2018
1 parent cdaf09b commit 3186e87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
language: node_js
node_js:
- "6"
- "8"

before_install:
# grant the needed permission for deploy.sh
- chmod +x deploy.sh
# DONT SETUP GH_TOKEN here, set it in Travis to avoid the security issue
# git setup
- git config --global push.default matching
Expand All @@ -25,9 +27,7 @@ install:

script:
# your build process
- rm -Rf build
- mkdir build
- cp index.html build/
- CI=false npm run build
# deploy via travis
# check details on https://github.com/gasolin/ghpage-auto-deploy
- ./deploy.sh
Expand Down

0 comments on commit 3186e87

Please sign in to comment.