tdlight-java/.travis.yml

50 lines
961 B
YAML
Raw Normal View History

2020-08-18 14:46:47 +02:00
language: shell
os:
- linux
2020-08-18 14:46:47 +02:00
- windows
2020-08-18 21:46:16 +02:00
arch:
- amd64
- arm64
2020-08-18 14:46:47 +02:00
osx_image: xcode10.1
dist: bionic
2020-08-18 21:46:16 +02:00
before_install:
- sudo apt-get -y install make git zlib1g-dev libssl-dev gperf php cmake openjdk-11-jdk-headless g++ ccache maven
2020-08-18 21:47:09 +02:00
- cp .travis.settings.xml $HOME/.m2/settings.xml
addons:
apt:
2020-08-18 21:46:16 +02:00
update: true
2020-08-18 15:33:03 +02:00
cache:
bundler: true
cocoapods: true
ccache: true
directories:
- ".autoconf"
- "$HOME/.m2"
- "$HOME/.cache"
2020-08-18 15:33:03 +02:00
2020-08-18 14:46:47 +02:00
deploy:
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
local-dir: out
repo: tdlight-team/tdlib-docs
on:
branch: master
# - provider: script
# skip-cleanup: true
# script: "mvn -B -V deploy"
2020-08-18 14:46:47 +02:00
script: |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
2020-08-18 18:36:22 +02:00
bash -e travis/linux.sh;
bash -e travis/deploy_master.sh
2020-08-18 14:46:47 +02:00
fi
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
bash travis/win.sh;
bash travis/deploy_master.sh
fi