Skip to content

Commit

Permalink
modify travis, build with jdk8
Browse files Browse the repository at this point in the history
modify travis, build with jdk8
wangyapu committed Jul 22, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3cc8e21 commit 674bd9a
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: java
jdk:
- openjdk8
cache:
bundler: true
directories:
@@ -7,6 +9,7 @@ sudo: false # faster builds
services:
- mysql
before_install:
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- mysql -e 'CREATE DATABASE IF NOT EXISTS cat;'
- mysql -u root --password="" cat < script/CatApplication.sql
- mkdir -p $HOME/data/appdatas/cat && mkdir -p $HOME/data/applogs
2 changes: 1 addition & 1 deletion cat-home/pom.xml
Original file line number Diff line number Diff line change
@@ -189,7 +189,7 @@
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<warName>cat-${env}-${version}</warName>
<warName>cat-${env}-${project.version}</warName>
<webResources>
<resource>
<directory>src/main/resources</directory>

0 comments on commit 674bd9a

Please sign in to comment.