Skip to content

Commit

Permalink
Test heroku environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kahverengi committed Dec 10, 2020
1 parent b7d0174 commit 5ae0aa9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,21 @@ script:
- if [ "$TRAVIS_BRANCH" = "dev" ]; then ./gradlew buildDev; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then ./gradlew Build; fi
install:
- if [ "$TRAVIS_BRANCH" = "master" ]; then chmod +x travis-scripts/install_script.sh && ./travis-scripts/install_script.sh; fi
- nvm use 11.0.0
- npm --version
- node --version
- ./gradlew build
- git clone https://github.com/ParNote-App/ParNote-UI.git parnote-ui
- cd parnote-ui
- npm install
- npm run build
- ls -a
- ls ..
- cp -avr public ../public
- cd ..
- rm -rf parnote-ui
- ls -a
- ls -a public
before_deploy:
- git config --local user.name $GITHUB_USERNAME
- git config --local user.email $GITHUB_EMAIL
Expand Down

0 comments on commit 5ae0aa9

Please sign in to comment.