-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
40 lines (40 loc) · 2.16 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
cache:
directories:
- "$HOME/.m2"
dist: focal
sudo: false
language: generic
env:
- JAVA_HOME=$HOME/jdk PATH=$JAVA_HOME/bin:$HOME/bin:$PATH GRAALVM_VERSION="22.0.0.2" GRAALVM_JAVA_VERSION="17"
before_install:
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
- curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
- sudo apt-get update
- sudo apt-get install -y powershell
- travis_retry wget --no-verbose -O $HOME/travis-wait-enhanced.tar.gz https://github.com/crazy-max/travis-wait-enhanced/releases/download/v1.2.0/travis-wait-enhanced_1.2.0_linux_x86_64.tar.gz
- mkdir -p $HOME/bin
- tar -zxf $HOME/travis-wait-enhanced.tar.gz -C $HOME/bin
install:
- travis_retry wget --no-verbose -O $HOME/jdk.tar.gz https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-$GRAALVM_VERSION/graalvm-ce-java$GRAALVM_JAVA_VERSION-linux-amd64-$GRAALVM_VERSION.tar.gz
- mkdir -p $HOME/jdk
- tar -xzf $HOME/jdk.tar.gz -C $HOME/jdk --strip-components=1
# - "$HOME/jdk/bin/gu install native-image"
script:
- travis-wait-enhanced --interval=1m --timeout=30m -- mvn package -B
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/ea18e2dc88d5d61e0a22
on_success: change
on_failure: always
on_start: never
deploy:
provider: releases
api_key:
secure: ROwTTzDoonpvuhmnbkmdjZp72ACwo0S46m2TB5RaSNaMNnraca4dCHaIYsNBoVw5S7Nt8A/XonwTrjzEr5eELshZ/eEz2NVy1tr1Ncb12kKoI2A6RLSGHqQCyiBf2zm3V1g4LFAXDQP7WK1lPiVipPl5NAQ8lQQp+QJ6F44y3N44vCwnyUltl2mGHJ/0wiERCITzWGr6hu9xe+jxBA/vhG3tmKulK1kSppWnSMktnmW1qPf397/BN9gfd7iLVTxBiC3Ng7R/hDHxf5sk54CXbvMwB51VpO9dDEO7jHdZndnhkk1+2Wb7okjPxctmulpjIWk3cqb4W1U8XVrgAk/coc4a5BeggTUI2VEATIGZcQzc8myYhif1O1H1R7uAXojlS7BLImHDhmJ6jIEIsybnOljCtcGag8Gj+dsD36r05Q9K8aJRRsj7mUqSZI5Xhds7kStS9LIVP16910GEpkW4Qv0lHUAe668nMv8elfG5KnaF3xx9+JvcNXzZu5tLpMPrAX68JYKDvjEN5LovKLH/oIYg5bVXEwIlozAINpZtrRTcWoIg1htwq8KlXv5CfVqENXOLpiuWeysavybkOrtfZkVm/EKzOo9M07Euiynjiaw/f3X2ZHT/AG4Uy3f4KOU5UDpKFsa0vpd879BYKYSI0i85nbG8RdQQau6gQONpgDI=
file: 'component/yona-component.jar'
on:
repo: yona-lang/yona
tags: true
skip_cleanup: 'true'
overwrite: true