-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Generated with JHipster 4.13.3 * Fix compilation and testing issues * Updated yarn.lock * Add Travis for CI * Re-create application from scratch * Update tutorial and screenshots
- Loading branch information
Matt Raible
authored
May 3, 2018
1 parent
4986d9d
commit 896beea
Showing
366 changed files
with
12,718 additions
and
6,434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
os: | ||
- linux | ||
services: | ||
- docker | ||
language: node_js | ||
node_js: | ||
- "9.8.0" | ||
addons: | ||
apt: | ||
sources: | ||
- google-chrome | ||
packages: | ||
- google-chrome-stable | ||
jdk: | ||
- oraclejdk8 | ||
sudo: false | ||
cache: | ||
directories: | ||
- node | ||
- node_modules | ||
- $HOME/.m2 | ||
- $HOME/.yarn-cache | ||
env: | ||
global: | ||
- NODE_VERSION=9.8.0 | ||
- SPRING_OUTPUT_ANSI_ENABLED=ALWAYS | ||
- SPRING_JPA_SHOW_SQL=false | ||
before_install: | ||
- jdk_switcher use oraclejdk8 | ||
- java -version | ||
- sudo /etc/init.d/mysql stop | ||
- sudo /etc/init.d/postgresql stop | ||
# Repo for Yarn | ||
- curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- export PATH=$HOME/.yarn/bin:$PATH | ||
- export CHROME_BIN=/usr/bin/google-chrome | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
install: | ||
- yarn install | ||
script: | ||
- chmod +x mvnw | ||
- ./mvnw clean test | ||
- yarn test | ||
- docker-compose -f src/main/docker/postgresql.yml up -d | ||
- ./mvnw -q package -Pprod -DskipTests | ||
- java -jar target/*.war & | ||
- bootPid=$! | ||
- sleep 60s | ||
- yarn e2e | ||
- kill $bootPid | ||
# ./mvnw com.heroku.sdk:heroku-maven-plugin:1.1.1:deploy -DskipTests -Pprod -Dheroku.appName= | ||
notifications: | ||
webhooks: | ||
on_success: change # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
on_start: false # default: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: java -jar target/*.war --spring.profiles.active=prod,heroku --server.port=$PORT | ||
web: java $JAVA_OPTS -Xmx256m -jar target/*.war --spring.profiles.active=prod,heroku --server.port=$PORT |
Oops, something went wrong.