-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis CI: update to the latest version of .travis.yml
* Switch to PackPack for packages * Use `packagecloud` deployment instead of travis.sh script * Enable email notifications * Add Fedora 25, Ubuntu Yakkety * Remove Ubuntu Wily (EOL)
- Loading branch information
Showing
1 changed file
with
86 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,98 +18,122 @@ env: | |
global: | ||
- PRODUCT=php-tarantool | ||
matrix: | ||
- OS=el DIST=6 PACK=rpm | ||
- OS=el DIST=7 PACK=rpm | ||
- OS=fedora DIST=23 PACK=rpm | ||
- OS=fedora DIST=24 PACK=rpm | ||
# - OS=fedora DIST=rawhide PACK=rpm | ||
- OS=ubuntu DIST=trusty PACK=deb | ||
- OS=ubuntu DIST=precise PACK=deb | ||
- OS=ubuntu DIST=wily PACK=deb | ||
# - TARGET=test | ||
- OS=el DIST=6 | ||
- OS=el DIST=7 | ||
- OS=fedora DIST=24 | ||
- OS=fedora DIST=25 | ||
- OS=ubuntu DIST=trusty | ||
- OS=ubuntu DIST=precise | ||
# phpize is, currently, broken on xenial. can't test, still not stable | ||
# - OS=ubuntu DIST=xenial PACK=deb | ||
- OS=debian DIST=jessie PACK=deb | ||
- OS=debian DIST=wheezy PACK=deb | ||
# - OS=debian DIST=stretch PACK=deb | ||
- OS=debian DIST=sid PACK=deb | ||
# - PACK=none | ||
# - OS=ubuntu DIST=xenial | ||
# - OS=ubuntu DIST=yakkety | ||
- OS=debian DIST=wheezy | ||
- OS=debian DIST=jessie | ||
# - OS=debian DIST=stretch | ||
|
||
# multiple php version exclusion matrix | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- env: OS=el DIST=6 PACK=rpm | ||
- env: OS=el DIST=7 PACK=rpm | ||
- env: OS=fedora DIST=23 PACK=rpm | ||
- env: OS=fedora DIST=24 PACK=rpm | ||
- env: OS=fedora DIST=rawhide PACK=rpm | ||
- env: OS=ubuntu DIST=precise PACK=deb | ||
- env: OS=ubuntu DIST=trusty PACK=deb | ||
- env: OS=ubuntu DIST=wily PACK=deb | ||
# - env: OS=ubuntu DIST=xenial PACK=deb | ||
- env: OS=debian DIST=jessie PACK=deb | ||
- env: OS=debian DIST=wheezy PACK=deb | ||
- env: OS=debian DIST=stretch PACK=deb | ||
- env: OS=debian DIST=sid PACK=deb | ||
# - 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=yakkety | ||
# - env: OS=debian DIST=wheezy | ||
# - env: OS=debian DIST=jessie | ||
# - env: OS=debian DIST=stretch | ||
exclude: | ||
- env: OS=el DIST=6 PACK=rpm | ||
- env: OS=el DIST=6 | ||
php: 5.4 | ||
- env: OS=el DIST=7 PACK=rpm | ||
- env: OS=el DIST=7 | ||
php: 5.4 | ||
- env: OS=fedora DIST=23 PACK=rpm | ||
- env: OS=fedora DIST=24 | ||
php: 5.4 | ||
- env: OS=fedora DIST=24 PACK=rpm | ||
- env: OS=fedora DIST=25 | ||
php: 5.4 | ||
- env: OS=fedora DIST=rawhide PACK=rpm | ||
- env: OS=ubuntu DIST=precise | ||
php: 5.4 | ||
- env: OS=ubuntu DIST=precise PACK=deb | ||
- env: OS=ubuntu DIST=trusty | ||
php: 5.4 | ||
- env: OS=ubuntu DIST=trusty PACK=deb | ||
- env: OS=ubuntu DIST=xenial | ||
php: 5.4 | ||
- env: OS=ubuntu DIST=wily PACK=deb | ||
- env: OS=ubuntu DIST=yakkety | ||
php: 5.4 | ||
# - env: OS=ubuntu DIST=xenial PACK=deb | ||
- env: OS=debian DIST=wheezy | ||
php: 5.4 | ||
- env: OS=debian DIST=jessie PACK=deb | ||
- env: OS=debian DIST=jessie | ||
php: 5.4 | ||
- env: OS=debian DIST=wheezy PACK=deb | ||
- env: OS=debian DIST=stretch | ||
php: 5.4 | ||
- env: OS=debian DIST=stretch PACK=deb | ||
php: 5.4 | ||
- env: OS=debian DIST=sid PACK=deb | ||
php: 5.4 | ||
- env: OS=el DIST=6 PACK=rpm | ||
php: 5.5 | ||
- env: OS=el DIST=7 PACK=rpm | ||
- env: OS=el DIST=6 | ||
php: 5.5 | ||
- env: OS=fedora DIST=23 PACK=rpm | ||
- env: OS=el DIST=7 | ||
php: 5.5 | ||
- env: OS=fedora DIST=24 PACK=rpm | ||
- env: OS=fedora DIST=24 | ||
php: 5.5 | ||
- env: OS=fedora DIST=rawhide PACK=rpm | ||
- env: OS=fedora DIST=25 | ||
php: 5.5 | ||
- env: OS=ubuntu DIST=precise PACK=deb | ||
- env: OS=ubuntu DIST=precise | ||
php: 5.5 | ||
- env: OS=ubuntu DIST=trusty PACK=deb | ||
- env: OS=ubuntu DIST=trusty | ||
php: 5.5 | ||
- env: OS=ubuntu DIST=wily PACK=deb | ||
- env: OS=ubuntu DIST=xenial | ||
php: 5.5 | ||
# - env: OS=ubuntu DIST=xenial PACK=deb | ||
- env: OS=ubuntu DIST=yakkety | ||
php: 5.5 | ||
- env: OS=debian DIST=jessie PACK=deb | ||
- env: OS=debian DIST=wheezy | ||
php: 5.5 | ||
- env: OS=debian DIST=wheezy PACK=deb | ||
- env: OS=debian DIST=jessie | ||
php: 5.5 | ||
- env: OS=debian DIST=stretch PACK=deb | ||
php: 5.5 | ||
- env: OS=debian DIST=sid PACK=deb | ||
- env: OS=debian DIST=stretch | ||
php: 5.5 | ||
|
||
script: | ||
- git clone https://github.com/tarantool/build.git | ||
- PACKAGECLOUD_REPO=tarantool/1_6 REPO_PREFIX=1.6 ./build/pack/travis.sh | ||
- PACKAGECLOUD_REPO=tarantool/1_7 REPO_PREFIX=1.7 ./build/pack/travis.sh | ||
- git describe --long | ||
- export VERSION=$(git describe --long --always | sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\1/p') | ||
- export RELEASE=$(git describe --long --always | sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\2/p') | ||
- | | ||
if [ "${TARGET}" = "test" ]; then | ||
./test.sh; | ||
else | ||
git clone https://github.com/packpack/packpack.git packpack; | ||
packpack/packpack; | ||
fi; | ||
before_deploy: | ||
- ls -l build/ | ||
|
||
deploy: | ||
# Deploy packages to PackageCloud | ||
- provider: packagecloud | ||
username: tarantool | ||
repository: "1_6" | ||
token: ${PACKAGECLOUD_TOKEN} | ||
dist: ${OS}/${DIST} | ||
package_glob: build/*.{rpm,deb,dsc} | ||
skip_cleanup: true | ||
on: | ||
branch: master | ||
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" | ||
- provider: packagecloud | ||
username: tarantool | ||
repository: "1_7" | ||
token: ${PACKAGECLOUD_TOKEN} | ||
dist: ${OS}/${DIST} | ||
package_glob: build/*.{rpm,deb,dsc} | ||
skip_cleanup: true | ||
on: | ||
branch: master | ||
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" | ||
|
||
notifications: | ||
email: true | ||
irc: false | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: change | ||
on_failure: always |