Skip to content

Commit

Permalink
Update travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbes committed Nov 4, 2018
1 parent dd8b8fe commit 03bc225
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 38 deletions.
12 changes: 12 additions & 0 deletions .travis.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.PHONY: test

all: package

package:
git clone https://github.com/packpack/packpack.git packpack
packpack/packpack

test:
curl -s https://packagecloud.io/install/repositories/tarantool/1_10/script.deb.sh | sudo bash
apt install tarantool
./test-run.py
66 changes: 28 additions & 38 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ services:

language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3
- nightly

python:
- 2.7

Expand All @@ -19,43 +12,40 @@ cache: false
env:
global:
- PRODUCT=php-tarantool
matrix:
- OS=el DIST=6 PACK=rpm
- OS=el DIST=7 PACK=rpm
- OS=fedora DIST=22 PACK=rpm
- OS=fedora DIST=23 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
# 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

# multiple php version exclusion matrix
matrix:
include:
# # - env: OS=el DIST=6
# # - env: OS=el DIST=7
# - env: OS=fedora DIST=26
# - env: OS=fedora DIST=27
# # - env: OS=ubuntu DIST=trusty
# - env: OS=ubuntu DIST=xenial
# - env: OS=ubuntu DIST=artful
# # - env: OS=ubuntu DIST=bionic
# # - env: OS=debian DIST=wheezy
# # - env: OS=debian DIST=jessie
# - env: OS=debian DIST=stretch
# - { env: TARGET=test, php: 7.0 }
- { env: TARGET=test, php: 7.1 }
- { env: TARGET=test, php: nightly }
fast_finish: true
allow_failures:
- env: OS=el DIST=6 PACK=rpm
- env: OS=el DIST=7 PACK=rpm
- env: OS=fedora DIST=22 PACK=rpm
- env: OS=fedora DIST=23 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=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
allowed_failures:
- OS=el DIST=6
- OS=el DIST=7
- OS=fedora DIST=26
- OS=fedora DIST=27
- OS=ubuntu DIST=trusty
- OS=ubuntu DIST=xenial
- OS=ubuntu DIST=artful
- OS=ubuntu DIST=bionic
- OS=debian DIST=wheezy
- OS=debian DIST=jessie
- OS=debian DIST=stretch

script:
- git clone https://github.com/packpack/packpack.git packpack
- packpack/packpack;
- make -f .travis.mk ${TARGET}

notifications:
email: true
Expand Down

0 comments on commit 03bc225

Please sign in to comment.