Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 04eafea

Browse files
Update .travis.yml
1 parent 0675581 commit 04eafea

File tree

1 file changed

+113
-112
lines changed

1 file changed

+113
-112
lines changed

‎.travis.yml‎

Lines changed: 113 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -18,119 +18,120 @@ addons:
1818
- httpie
1919
install: true
2020
before_install:
21-
if [ ! -f ${HOME}/.local/daggerok/bash-functions/master/main.bash ] ; then
22-
mkdir -p ${HOME}/.local/daggerok/bash-functions/master ;
23-
curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/main.bash > ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
24-
fi
25-
source ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
26-
- stop_any 80 5432 8080
21+
- |
22+
if [ ! -f ${HOME}/.local/daggerok/bash-functions/master/main.bash ] ; then
23+
mkdir -p ${HOME}/.local/daggerok/bash-functions/master ;
24+
curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/main.bash > ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
25+
fi
26+
source ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
27+
- stop_any 80 5432 8080
2728
jobs:
2829
include:
29-
- stage: test
30-
name: twitterok
31-
before_script:
32-
- cd $TRAVIS_BUILD_DIR && ./mvnw -f twitterok
33-
- java -jar $TRAVIS_BUILD_DIR/twitterok/target/*-SNAPSHOT.jar &
34-
- wait_for 8080
35-
script:
36-
- http :8080
37-
- http :8080/404
38-
- http :8080/error
39-
after_script: http post :8080/actuator/shutdown
40-
- stage: test
41-
name: refs
42-
script: cd $TRAVIS_BUILD_DIR && ./mvnw -f refs
43-
- stage: test
44-
jdk: openjdk11
45-
name: many-to-many
46-
before_script:
47-
- cd $TRAVIS_BUILD_DIR/many-to-many && ./mvnw
48-
- java -jar $TRAVIS_BUILD_DIR/many-to-many/target/*.jar &
49-
- wait_for 8080
50-
script:
51-
- http :8080/authors id=00000000-0000-0000-0000-000000000003
52-
name=Maksimko email=daggerok@gmail.com
53-
- http :8080/authors id=00000000-0000-0000-0000-000000000004
54-
name="Maksim Ko" email=daggerok@gmail.com
55-
- http :8080/authors
56-
- http :8080/messages id=00000000-0000-0000-0000-000000000002
57-
body=hny
58-
authors:='[
59-
{"author":"00000000-0000-0000-0000-000000000003"},
60-
{"author":"00000000-0000-0000-0000-000000000004"}
61-
]'
62-
- http :8080/messages
63-
after_script: http post :8080/actuator/shutdown
64-
- stage: test
65-
jdk: openjdk11
66-
name: spring-boot-2-2
67-
before_script: cd $TRAVIS_BUILD_DIR && ./mvnw -f spring-boot-2-2/ docker:build docker:start
68-
script: cd $TRAVIS_BUILD_DIR && ./mvnw -f spring-boot-2-2/
69-
after_script: cd $TRAVIS_BUILD_DIR && ./mvnw -f spring-boot-2-2/ docker:stop docker:remove
70-
- stage: test
71-
jdk: openjdk8
72-
name: mvn test
73-
script: cd $TRAVIS_BUILD_DIR && ./mvnw
74-
- stage: test
75-
jdk: openjdk11
76-
name: mvn test openjdk11
77-
script: cd $TRAVIS_BUILD_DIR && ./mvnw
78-
- stage: test
79-
jdk: openjdk8
80-
name: ddd integration tests
81-
script:
82-
- cd $TRAVIS_BUILD_DIR && ./mvnw -pl ddd
83-
- java -jar $TRAVIS_BUILD_DIR/ddd/target/*.jar &
84-
- wait_for 8002
85-
- http :8002 name=test
86-
- http :8002 name=test
87-
- http :8002 name="test 2"
88-
- http :8002/statistics
89-
- stop_any 80 8002
90-
- stage: test
91-
jdk: openjdk11
92-
name: ddd integration tests openjdk11
93-
script:
94-
- cd $TRAVIS_BUILD_DIR && ./mvnw -f $TRAVIS_BUILD_DIR/ddd/pom.xml
95-
- java -jar $TRAVIS_BUILD_DIR/ddd/target/*.jar &
96-
- wait_for 8002
97-
- http :8002 name=test
98-
- http :8002 name=test
99-
- http :8002 name="test 2"
100-
- http :8002/statistics
101-
- stop_any 80 8002
102-
- stage: test
103-
jdk: openjdk8
104-
name: simple integration tests
105-
script:
106-
- cd $TRAVIS_BUILD_DIR && ./mvnw -pl :simple
107-
- java -jar $TRAVIS_BUILD_DIR/simple/target/*.jar &
108-
- wait_for 8001
109-
- http :8001
110-
- http :8001 name=test
111-
- http :8001/find-all
112-
- stop_any 80 8001
113-
- stage: test
114-
jdk: openjdk11
115-
name: simple integration tests openjdk11
116-
script:
117-
- cd $TRAVIS_BUILD_DIR && ./mvnw -f simple/pom.xml
118-
- bash $TRAVIS_BUILD_DIR/simple/target/*.jar &
119-
- wait_for 8001
120-
- http :8001
121-
- http :8001 name=test
122-
- http :8001/find-all
123-
- stop_any 80 8001
124-
- stage: test
125-
jdk: openjdk8
126-
name: mvn versions:display-property-updates
127-
script: cd $TRAVIS_BUILD_DIR && ./mvnw versions:display-property-updates
128-
- stage: test
129-
jdk: openjdk11
130-
name: mvn versions:display-property-updates (openjdk11)
131-
script: cd $TRAVIS_BUILD_DIR && ./mvnw versions:display-property-updates
30+
- stage: test
31+
name: twitterok
32+
before_script:
33+
- cd $TRAVIS_BUILD_DIR && ./mvnw -f twitterok
34+
- java -jar $TRAVIS_BUILD_DIR/twitterok/target/*-SNAPSHOT.jar &
35+
- wait_for 8080
36+
script:
37+
- http :8080
38+
- http :8080/404
39+
- http :8080/error
40+
after_script: http post :8080/actuator/shutdown
41+
- stage: test
42+
name: refs
43+
script: cd $TRAVIS_BUILD_DIR && ./mvnw -f refs
44+
- stage: test
45+
jdk: openjdk11
46+
name: many-to-many
47+
before_script:
48+
- cd $TRAVIS_BUILD_DIR/many-to-many && ./mvnw
49+
- java -jar $TRAVIS_BUILD_DIR/many-to-many/target/*.jar &
50+
- wait_for 8080
51+
script:
52+
- http :8080/authors id=00000000-0000-0000-0000-000000000003
53+
name=Maksimko email=daggerok@gmail.com
54+
- http :8080/authors id=00000000-0000-0000-0000-000000000004
55+
name="Maksim Ko" email=daggerok@gmail.com
56+
- http :8080/authors
57+
- http :8080/messages id=00000000-0000-0000-0000-000000000002
58+
body=hny
59+
authors:='[
60+
{"author":"00000000-0000-0000-0000-000000000003"},
61+
{"author":"00000000-0000-0000-0000-000000000004"}
62+
]'
63+
- http :8080/messages
64+
after_script: http post :8080/actuator/shutdown
65+
- stage: test
66+
jdk: openjdk11
67+
name: spring-boot-2-2
68+
before_script: cd $TRAVIS_BUILD_DIR && ./mvnw -f spring-boot-2-2/ docker:build docker:start
69+
script: cd $TRAVIS_BUILD_DIR && ./mvnw -f spring-boot-2-2/
70+
after_script: cd $TRAVIS_BUILD_DIR && ./mvnw -f spring-boot-2-2/ docker:stop docker:remove
71+
- stage: test
72+
jdk: openjdk8
73+
name: mvn test
74+
script: cd $TRAVIS_BUILD_DIR && ./mvnw
75+
- stage: test
76+
jdk: openjdk11
77+
name: mvn test openjdk11
78+
script: cd $TRAVIS_BUILD_DIR && ./mvnw
79+
- stage: test
80+
jdk: openjdk8
81+
name: ddd integration tests
82+
script:
83+
- cd $TRAVIS_BUILD_DIR && ./mvnw -pl ddd
84+
- java -jar $TRAVIS_BUILD_DIR/ddd/target/*.jar &
85+
- wait_for 8002
86+
- http :8002 name=test
87+
- http :8002 name=test
88+
- http :8002 name="test 2"
89+
- http :8002/statistics
90+
- stop_any 80 8002
91+
- stage: test
92+
jdk: openjdk11
93+
name: ddd integration tests openjdk11
94+
script:
95+
- cd $TRAVIS_BUILD_DIR && ./mvnw -f $TRAVIS_BUILD_DIR/ddd/pom.xml
96+
- java -jar $TRAVIS_BUILD_DIR/ddd/target/*.jar &
97+
- wait_for 8002
98+
- http :8002 name=test
99+
- http :8002 name=test
100+
- http :8002 name="test 2"
101+
- http :8002/statistics
102+
- stop_any 80 8002
103+
- stage: test
104+
jdk: openjdk8
105+
name: simple integration tests
106+
script:
107+
- cd $TRAVIS_BUILD_DIR && ./mvnw -pl :simple
108+
- java -jar $TRAVIS_BUILD_DIR/simple/target/*.jar &
109+
- wait_for 8001
110+
- http :8001
111+
- http :8001 name=test
112+
- http :8001/find-all
113+
- stop_any 80 8001
114+
- stage: test
115+
jdk: openjdk11
116+
name: simple integration tests openjdk11
117+
script:
118+
- cd $TRAVIS_BUILD_DIR && ./mvnw -f simple/pom.xml
119+
- bash $TRAVIS_BUILD_DIR/simple/target/*.jar &
120+
- wait_for 8001
121+
- http :8001
122+
- http :8001 name=test
123+
- http :8001/find-all
124+
- stop_any 80 8001
125+
- stage: test
126+
jdk: openjdk8
127+
name: mvn versions:display-property-updates
128+
script: cd $TRAVIS_BUILD_DIR && ./mvnw versions:display-property-updates
129+
- stage: test
130+
jdk: openjdk11
131+
name: mvn versions:display-property-updates (openjdk11)
132+
script: cd $TRAVIS_BUILD_DIR && ./mvnw versions:display-property-updates
132133
cache:
133134
directories:
134-
- ~/.local/daggerok
135-
- ~/.docker
136-
- ~/.m2
135+
- ~/.local/daggerok
136+
- ~/.docker
137+
- ~/.m2

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /