Newer
Older
os:
- linux
- osx
cache:
directories:
- $HOME/.cache
git:
depth: 100500
- TARGET=source
- TARGET=test
- OS=el DIST=6
- OS=el DIST=7
- OS=fedora DIST=24
- OS=fedora DIST=25
- OS=ubuntu DIST=precise
- OS=ubuntu DIST=trusty
- OS=ubuntu DIST=xenial
- OS=debian DIST=wheezy
- OS=debian DIST=jessie
- OS=debian DIST=stretch
# - env: OS=el DIST=6
# - env: OS=el DIST=7
# - env: OS=fedora DIST=24
# - env: OS=fedora DIST=25
# - env: OS=ubuntu DIST=precise
# - env: OS=ubuntu DIST=trusty
# - env: OS=ubuntu DIST=xenial
# - env: OS=debian DIST=wheezy
# - env: OS=debian DIST=jessie
# - env: OS=debian DIST=stretch
- env: OS=el DIST=6
- env: OS=el DIST=7
- env: OS=fedora DIST=24
- env: OS=fedora DIST=25
- env: OS=ubuntu DIST=precise
- env: OS=ubuntu DIST=trusty
- env: OS=ubuntu DIST=xenial
- env: OS=ubuntu DIST=artful
os: osx
- env: OS=debian DIST=wheezy
- env: OS=debian DIST=jessie
- env: OS=debian DIST=stretch
- env: TARGET=source
- env: TARGET=coverage
os: osx
- make -f .travis.mk ${TARGET}
before_deploy:
- ls -l build/
deploy:
# Deploy packages to PackageCloud
- provider: packagecloud
username: "tarantool"
token: "${PACKAGECLOUD_TOKEN}"
dist: "${OS}/${DIST}"
package_glob: build/*.{rpm,deb,dsc}
skip_cleanup: true
on:
repo: tarantool/tarantool
branch: "1.8" # releases
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
# Deploy source tarballs to S3
- provider: script
script: make -f .travis.mk source_deploy
skip_cleanup: true
on:
repo: tarantool/tarantool
branch: "1.8" # releases
condition: "x${TARGET} = xsource"
notifications:
email:
recipients:
- build@tarantool.org
on_success: change
on_failure: always