forked from axoloti/axoloti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (44 loc) · 1.51 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
os:
- linux
- osx
language: java
osx_image: xcode8.2
before_install:
- >
case "${TRAVIS_OS_NAME:-linux}" in
linux)
sudo apt-get update -qq
sudo apt-get install -qq oracle-java8-installer
jdk_switcher use oraclejdk8
./platform_linux/build.sh
;;
osx)
brew install ant
./platform_osx/build.sh
;;
esac;
javac -version;
script:
- ant
- ant -Dbuild.bundle=true bundle
- ant -Dbuild.runtime=true runtime
before_deploy:
- pwd
- ls ${TRAVIS_BUILD_DIR}
- ls ${TRAVIS_BUILD_DIR}/build
- ls ${TRAVIS_BUILD_DIR}/build/bundles
deploy:
provider: releases
api_key:
secure: ztzeYzBfCMNJnxFAlTq/dkvZdi4Ob+aWyUZBtAWlJDm+z6jeiT+015uDa0N+YEDKcyI3iWQbHwS9cZG8s5tpVwmjQ9jbkWOxeDaAOrsQKvgtxOXs5c2XDN0QejjK+f+rcxTS1zeyLNQ4YFbYEKtI/7gFYk8IBtEGs/ZatIDHUivKZ+VUmMIZnIxuCOQKAyQ/W9xEuFnIYezMrfRuTnmwpQ5z6ttiAt56HuHDVn4HOBNPLtbmoR9i0/BM0LMU5gpUC5QkLgmrweO5MngZLW7umC7sW8AVsOpwTCrtzPgWEAIyvl+I7E+PZaPLOtCc0WP6a076DROUmEHeog2Xg528EON4h3OsZJ2GnwT7nV+9k0lSWWv7w620paB5gwBGtWsLA3hrdfPBT/7HqN4oA6wW6g32Y1+GXxXk0Z4X+qSs0tFQI9DLYdEZ4PsLp1b4Q4mh61ys2+27S9UNdqp/5abxwknBVtbVujhPpyb7PPWjKrvMpqRLV9za/Tvj9iQuUCd57aGLT7GkeI2VSNgfIOrRN1iIBH5l0ivWfPn0BuPMhuNBAI9Rrz5h2DRY4zaGmW7VJkYKigxaOL7dVYHWCA7abOZsQBzzQsqpxoYDV2RhdttFadaELNlfimu1V4mYSqQZB2hBd+AuVE91n5eZ27CUBZ2FRLpUOGAJrv27ffrztt8=
file:
- build/bundles/*
- build/runtime/*/axo_runtime*
file_glob: true
skip_cleanup: true
on:
repo: axoloti/axoloti
tags: true
all_branches: true
git:
depth: 1000