1010 - secure : hw6pdShvlvOYQE2N8qVUigZ3A06bj55LmOB786/B3zxWzwAa8mjfPo7jYD5eHTkiuUSpVKMhnr0MsKy//NJu+UIm2OqwZjhTMqYaiZx3a3mtontKgbcLsHJI7IyfQF3OqQVsvhoi+3yf8rfyysq4tnP+0RPlfqtYnrrNNolOBQRdaixQgACfzqYfkYM11EdInXZY6WZkfkIJHvmYhFJKB6D8LgEKdrY6q7W/KmPB9T37c2fcMxe/4aSaoHzFX3JPi6OLc3tT21Kv+XRQPYV7tp3XP67M6rGq2RKzXrKzLoYEjIU5d0pFbygmwE5YBdfn7j7C10rxAeFZ/UOXYJtCJW9ZojKkitwiDzUvo3Bu+Q3v0XDPE/hQ4RwC4zbmeT8DH2GnSSTNnAq+55ESbVXPGAo4FsW/PBlqBx4KlfOpjNbyBPeECGy1xYbOi547YqAYxkqVn3augp5OgZ/bNFRM80ib9k6lv81hFhBrC7Yp1b8GmO6XeUG0QZoOkKclO0DtzhM972uQiYL2Wb6i+Ll7cVeP6Oss+8VNENZTne2+weVVsl/tHFbjLI8mWaQmROqfVpekYl1UzJVx3iJQKSFiRTJlhXjnZYxabet+HPAggw0r40yWJUZRsRH3rFekBNmdjaVRQ+8nihdUOPS9bzCHYO/IUYuTrKDN7B3IJrFiVVU=
1111
1212language : java
13- jdk : openjdk8
13+ jdk : openjdk11
1414rvm : 2.6.4
1515
1616addons :
@@ -24,18 +24,10 @@ addons:
2424 - bash
2525 - curl
2626 - unzip
27- - python3-dev
28- - python3-pip
29- - python3-six
30- - python3-setuptools
27+ - httpie
3128
3229install : true
3330before_install :
34- - export PATH=$HOME/.local/bin:$PATH
35- - pip3 install --user $(whoami) --upgrade pip >/dev/null
36- - pip install --user $(whoami) --upgrade httpie >/dev/null 2>&1
37- - http --version --debug
38- #
3931- source <(curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/main.bash)
4032- stop_any 80 8001 8002 8080 5432
4133
4739 include :
4840
4941 - stage : test
50- jdk : openjdk8
51- name : mvn
42+ name : test
5243 script :
53- - cd $TRAVIS_BUILD_DIR && ./mvnw -U >/dev/null
44+ - cd $TRAVIS_BUILD_DIR && ./mvnw
5445 - java -jar $TRAVIS_BUILD_DIR/target/*-all.jar &
5546 - wait_for 8080
5647 - |
@@ -85,88 +76,34 @@ jobs:
8576 ]' | http post :8080/events/collection
8677
8778 - http :8080/events/00000000-0000-0000-0000-000000000001/collection Accept:application/json
88- - http :8080/events/00000000-0000-0000-0000-000000000000 Accept:application/json
79+ - http :8080/events/00000000-0000-0000-0000-000000000000 Accept:application/json
8980 - http :8080/events
9081 - http delete :8080/events
9182
9283 - http :8080/counter
93- - http post :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterCreated counterName=hi
94- - http put :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterIncremented by=travis withValue=1
95- - http put :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterIncremented withValue=2
96- - http delete :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterSuspended reason="just because I can"
97- - http :8080/counter/00000000-0000-0000-0000-000000000000
98- - http :8080/counter
84+ - http post :8080/counter aggregateId=0-0-0-0-0 type=CounterCreated counterName=hi
85+ - http put :8080/counter aggregateId=0-0-0-0-0 type=CounterIncremented by=travis withValue=1
86+ - http put :8080/counter aggregateId=0-0-0-0-0 type=CounterIncremented withValue=2
87+ - http delete :8080/counter aggregateId=0-0-0-0-0 type=CounterSuspended reason="just because I can"
88+ - http get :8080/counter/0-0-0-0-0
89+ - http get :8080/counter
9990 - http delete :8080/events
100- - http :8080/counter/00000000-0000-0000-0000-000000000000
91+ - http get :8080/counter/0-0-0-0-0
10192 - stop_any 80 8080
10293
10394 - stage : test
104- jdk : openjdk8
95+ jdk : openjdk11
10596 name : display-property-updates
10697 script : cd $TRAVIS_BUILD_DIR && ./mvnw versions:display-property-updates -U
10798
10899 - stage : test
109- jdk : openjdk11
110- name : test jdk11
100+ name : test documentation build
111101 script :
112- - cd $TRAVIS_BUILD_DIR && ./mvnw
113- - java -jar $TRAVIS_BUILD_DIR/target/*-all.jar &
114- - wait_for 8080
115- - |
116- echo '[
117- {
118- "type":"CounterCreated",
119- "aggregateId": "00000000-0000-0000-0000-000000000000",
120- "counterName": "hello 1"
121- },
122- {
123- "type":"CounterIncremented",
124- "aggregateId": "00000000-0000-0000-0000-000000000000",
125- "by": "max",
126- "withValue": 2
127- },
128- {
129- "type":"CounterIncremented",
130- "aggregateId": "00000000-0000-0000-0000-000000000000",
131- "by": "max",
132- "withValue": 3
133- },
134- {
135- "type":"CounterIncremented",
136- "aggregateId": "00000000-0000-0000-0000-000000000000",
137- "by": "max"
138- },
139- {
140- "type":"CounterSuspended",
141- "aggregateId": "00000000-0000-0000-0000-000000000000",
142- "reason": "because!"
143- }
144- ]' | http post :8080/events/collection
145-
146- - http :8080/events/00000000-0000-0000-0000-000000000001/collection Accept:application/json
147- - http :8080/events/00000000-0000-0000-0000-000000000000 Accept:application/json
148- - http :8080/events
149- - http delete :8080/events
150-
151- - http :8080/counter
152- - http post :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterCreated counterName=hi
153- - http put :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterIncremented by=travis withValue=1
154- - http put :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterIncremented withValue=2
155- - http delete :8080/counter aggregateId=00000000-0000-0000-0000-000000000000 type=CounterSuspended reason="just because I can"
156- - http :8080/counter/00000000-0000-0000-0000-000000000000
157- - http :8080/counter
158- - http delete :8080/events
159- - http :8080/counter/00000000-0000-0000-0000-000000000000
160- - stop_any 80 8080
161-
162- - stage : test
163- jdk : openjdk11
164- name : display-property-updates jdk11
165- script : cd $TRAVIS_BUILD_DIR && ./mvnw versions:display-property-updates -U
102+ - cd $TRAVIS_BUILD_DIR && ./mvnw exec:exec
103+ - cd $TRAVIS_BUILD_DIR && ./mvnw -Pjekyll-search
104+ - cd $TRAVIS_BUILD_DIR && ./mvnw -Pjekyll-build
166105
167106 - stage : deploy
168- jdk : openjdk11
169- rvm : 2.6.4
170107 name : GitHub release and GitHub pages deployment
171108 script : skip
172109 if : branch = "master" AND type NOT IN (pull_request)
@@ -188,7 +125,6 @@ jobs:
188125 condition : " $TRAVIS_PULL_REQUEST = false"
189126
190127cache :
191- pip : true
192128 bundler : true
193129 packages : true
194130 directories :
0 commit comments