tdlight-java/.travis.yml

61 lines
1016 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:
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
packages:
- make
- git
- zlib1g-dev
- libssl-dev
- gperf
- php
- cmake
- g++
- ccache
- maven
- openjdk-11-jdk
- python3
2020-08-18 15:33:03 +02:00
cache:
bundler: true
cocoapods: true
ccache: true
directories:
- ".autoconf"
- "$HOME/.m2"
2020-08-19 12:10:36 +02:00
- "$HOME/.ccache"
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 22:14:09 +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