Taskwarrior/.travis.yml

58 lines
838 B
YAML
Raw Permalink Normal View History

2015-02-05 13:41:03 -06:00
language: php
2015-12-23 09:27:03 -06:00
addons:
apt:
2016-07-13 01:59:26 -05:00
sources:
- ubuntu-toolchain-r-test
2015-12-23 09:27:03 -06:00
packages:
2016-07-13 02:04:27 -05:00
- gcc-5
- g++-5
2015-12-23 09:27:03 -06:00
- cmake
2015-12-23 09:47:53 -06:00
- libgnutls-dev
2015-12-23 09:42:12 -06:00
- libuuid1
2015-12-24 04:00:28 -06:00
- uuid
- uuid-dev
2015-12-23 09:27:03 -06:00
2015-08-01 16:53:26 -05:00
sudo: false
cache:
directories:
- $HOME/.composer/cache
2015-08-01 17:01:27 -05:00
- vendor
2015-12-24 04:22:32 -06:00
- build
2015-08-01 16:53:26 -05:00
2015-02-05 13:41:03 -06:00
php:
- 5.5
- 5.6
2015-04-03 18:22:05 -05:00
- 7
2015-02-05 13:41:03 -06:00
- hhvm
env:
2015-06-28 09:05:16 -05:00
global:
2016-07-13 01:43:01 -05:00
- TASKWARRIOR=2.5.1
2016-07-13 02:12:43 -05:00
- GCC_VERSION=5
2016-07-13 02:17:23 -05:00
- CXX="g++-5"
- CC="gcc-5"
2015-02-05 13:41:03 -06:00
matrix:
- PREFER_LOWEST="--prefer-lowest"
- PREFER_LOWEST=""
2016-07-13 01:43:01 -05:00
- TASKWARRIOR=2.5.0
2015-06-28 09:37:00 -05:00
matrix:
allow_failures:
2015-09-15 07:46:55 -05:00
- php: hhvm
2015-02-05 13:41:03 -06:00
2015-06-28 10:17:59 -05:00
install:
2016-07-13 02:07:43 -05:00
- gcc -v
2015-12-23 09:20:00 -06:00
- bash build.sh $TASKWARRIOR
2016-07-13 01:43:01 -05:00
- chmod +x build/taskwarrior-$TASKWARRIOR
2015-08-01 16:43:41 -05:00
- ln -s build/taskwarrior-$TASKWARRIOR task
2015-08-01 16:45:34 -05:00
- ./task --version
2015-02-05 13:41:03 -06:00
before_script:
2015-12-23 09:20:00 -06:00
- composer self-update
2015-08-01 16:43:41 -05:00
- composer update $PREFER_LOWEST
2015-02-05 13:41:03 -06:00
2015-12-23 09:20:00 -06:00
script:
- vendor/bin/phpunit