andreacavalli
/
JTDLib
Archived
forked from ErnyTech/JTDLib
1
0
Fork 0
This repository has been archived on 2020-08-18. You can view files and clone it, but cannot push or open issues or pull requests.
JTDLib/.travis.yml

51 lines
853 B
YAML

language: shell
os:
- linux
- windows
osx_image: xcode10.1
arch:
- amd64
- arm64
jobs:
include:
- stage: deploy
name: "Deploy binaries to master"
script: "bash travis/deploy_master.sh"
cache:
bundler: true
cocoapods: true
ccache: true
directories:
- ".autoconf"
- "$HOME/.m2"
- "$HOME/.cache"
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"
#before_install:
# - cp .travis.settings.xml $HOME/.m2/settings.xml
script: |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
bash travis/linux.sh;
fi
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
bash travis/win.sh;
fi