tdlight-java/.travis.yml

65 lines
1.2 KiB
YAML
Raw Normal View History

language: shell
os:
- linux
- windows
2020-08-23 19:46:03 +02:00
- osx
arch:
- amd64
- arm64
osx_image: xcode11.3
dist: bionic
before_install:
- cp .travis.settings.xml $HOME/.m2/settings.xml
2020-08-19 20:29:11 +02:00
- chmod +x travis/build.sh
- chmod +x travis/build_success.sh
- chmod +x travis/install_dependencies.sh
- chmod +x travis/setup_variables.sh
addons:
apt:
update: true
packages:
- make
- git
- zlib1g-dev
- libssl-dev
- gperf
- php
- cmake
- g++
- ccache
- maven
- openjdk-11-jdk
- python3
2020-08-19 21:30:59 +02:00
- php7.2-cli
cache:
bundler: true
cocoapods: true
ccache: true
directories:
- ".autoconf"
- "$HOME/.m2"
- "$HOME/.ccache"
deploy:
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
2020-08-20 21:56:21 +02:00
keep-history: false
local-dir: out/docs
2020-08-20 21:56:21 +02:00
repo: tdlight-team/tdlight-docs
target_branch: master
email: andrea@cavallium.it
name: "Andrea Cavalli"
verbose: true
2020-08-20 01:10:12 +02:00
on:
2020-08-20 01:26:06 +02:00
branch: dev
2020-08-20 09:51:22 +02:00
condition: $TRAVIS_OS_NAME = linux && $TRAVIS_CPU_ARCH = amd64
# - provider: script
# skip-cleanup: true
# script: "mvn -B -V deploy"
2020-08-19 20:24:36 +02:00
install: ./travis/install_dependencies.sh
script: ./travis/build.sh
2020-08-19 20:24:36 +02:00
after_success: ./travis/build_success.sh