[go: nahoru, domu]

Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
daggerok committed Apr 10, 2020
1 parent 0168a9b commit 789da03
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ jobs:
- stage: test
name: xml-message
script:
- cd ./xml-channel
- ./mvnw
- bash target/*.jar &
- cd $TRAVIS_BUILD_DIR/xml-channel && ./mvnw
- bash $TRAVIS_BUILD_DIR/xml-channel/target/*.jar &
- wait_for 8080
- http :8080
- http :8080 message=message\ builder\ hello
Expand All @@ -38,10 +37,9 @@ jobs:
- stage: test
name: spring-integration-5-example-01
script:
- cd ./spring-integration-5-example-01
- ./gradlew clean build
- cd $TRAVIS_BUILD_DIR/spring-integration-5-example-01 && ./gradlew clean build
- sudo mkdir -p /var/app
- sudo mv -f ./build/libs/*.jar /var/app/01.jar
- sudo mv -f $TRAVIS_BUILD_DIR/spring-integration-5-example-01/build/libs/*.jar /var/app/01.jar
- sudo ln -s /var/app/01.jar /etc/init.d/01
- sudo service 01 start
- sleep 15
Expand All @@ -51,16 +49,15 @@ jobs:
- stage: test
name: others
script:
- export root=$(pwd)
- >
for path in \
xml-message \
xml-hello \
xml-starter \
spring-integration-5-example-02 \
; do
cd $root/$path && ./gradlew clean build
done;
cd $TRAVIS_BUILD_DIR/$path && ./gradlew clean build
done;
cache:
directories:
- ~/.n*
Expand Down

0 comments on commit 789da03

Please sign in to comment.