-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (35 loc) · 1.36 KB
/
.travis.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
38
39
40
41
42
43
44
45
46
47
language: java
jdk: openjdk11
install: /bin/true
script: mvn verify
# cache the dependency-check-maven plugin catalog (280MB+)
cache:
directories: $HOME/.m2/repository/org/owasp/dependency-check-data/
services:
- xvfb
after_success:
- bash <(curl -s https://codecov.io/bash)
# run in travis' faster container based infrastructure
sudo: false
before_deploy:
- "mvn -DskipTests package -Pgtk_linux_i386,-gtk_linux_amd64,-windows_32,-windows_amd64"
- export LINUX_GTK_x86=$(ls target/marabou-*-linux-gtk-x86.jar)
- "mvn -DskipTests package -P-gtk_linux_i386,gtk_linux_amd64,-windows_32,-windows_amd64"
- export LINUX_GTK_x86_64=$(ls target/marabou-*-linux-gtk-x86_64.jar)
- "mvn -DskipTests package -P-gtk_linux_i386,-gtk_linux_amd64,windows_32,-windows_amd64"
- export WINDOWS_32=$(ls target/marabou-*-win32-x86.jar)
- "mvn -DskipTests package -P-gtk_linux_i386,-gtk_linux_amd64,-windows_32,windows_amd64"
- export WINDOWS_64=$(ls target/marabou-*-win32-x86_64.jar)
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: 0iDt+ZxARY2JLnZPO6pw2yz5SBfYYDmAz545xI5BBluGT1p2R7H0+e0D+/XkqGcuKpegHt17maON4H4qSTQabj4Ams0NxdQajSqIu9QvsPcXSAuc6NOv/HdgQf1f35birMTBSt1oPCkeuZc8Wi0xgRAFhTKTnESJzHHcYOcsVPc=
file:
- "${LINUX_GTK_x86}"
- "${LINUX_GTK_x86_64}"
- "${WINDOWS_32}"
- "${WINDOWS_64}"
on:
repo: hennr/marabou
tags: true