2020-08-19 12:44:38 +02:00
|
|
|
language: shell
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- windows
|
2020-08-23 19:46:03 +02:00
|
|
|
- osx
|
2020-08-19 12:44:38 +02:00
|
|
|
arch:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
2020-08-23 20:25:49 +02:00
|
|
|
osx_image: xcode11.3
|
2020-08-19 12:44:38 +02:00
|
|
|
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
|
2020-08-19 12:44:38 +02:00
|
|
|
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
|
2020-08-19 12:44:38 +02:00
|
|
|
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
|
2020-08-19 12:44:38 +02:00
|
|
|
local-dir: out/docs
|
2020-08-20 21:56:21 +02:00
|
|
|
repo: tdlight-team/tdlight-docs
|
2020-08-19 12:44:38 +02:00
|
|
|
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
|
2020-08-19 12:44:38 +02:00
|
|
|
# - provider: script
|
|
|
|
# skip-cleanup: true
|
|
|
|
# script: "mvn -B -V deploy"
|
|
|
|
|
2020-08-19 20:24:36 +02:00
|
|
|
install: ./travis/install_dependencies.sh
|
2020-08-19 21:27:20 +02:00
|
|
|
script: ./travis/build.sh
|
2020-08-19 20:24:36 +02:00
|
|
|
after_success: ./travis/build_success.sh
|