-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshippable.yml
37 lines (32 loc) · 856 Bytes
/
shippable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: java
jdk:
- oraclejdk8
env:
global:
- GRADLE_OPTS="-Dorg.gradle.daemon=false -Dorg.gradle.caching=true"
install:
- git clone https://github.com/Xerus2000/util ../util
script:
- new="new-$(git rev-parse --short HEAD)"
- old="old-$(git rev-parse --short HEAD^)"
- cd client
- gradle jar -Pj=$new
- git checkout HEAD^ -- src
- gradle jar -Pj=$old
- cd ..
- ls ./clients
- ./duel $new $old 50
after_script:
- cd /root/src/gitlab.com/Xerus2000/softwarechallenge2018
- cd testserver/logs; ls | xargs cat
- cd /root/src/gitlab.com/Xerus2000/softwarechallenge2018
- mkdir -p ./shippable/logs
- mv ./testserver/logs/* ./shippable/logs
integrations:
notifications:
- integrationName: email
type: email
on_success: never
on_failure: never
on_cancel: never
on_pull_request: never