add a 2nd DELETE test (sunshine case, delete all entries).
[pin4sha_cgi.git] / .travis.yml
blob6d77ac4aa298dd5b64b36288fe15082e55d8550e
1 # http://docs.travis-ci.com/user/migrating-from-legacy/
2 sudo: false
3 # http://docs.travis-ci.com/user/languages/php/#Choosing-PHP-versions-to-test-against
4 language: php
5 php:
6   - 5.4
7   - 5.5
8   - 5.6
9   - 7.0
10 # http://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle
11 # http://docs.travis-ci.com/user/customizing-the-build/#Build-Matrix
12 env:
13   global:
14     - GITHUB_SRC_SUBDIR=Shaarli-*
15     - BASE_URL=http://127.0.0.1:8000
16     - USERNAME=tast
17     - PASSWORD=tust
18   matrix:
19     - GITHUB=sebsauvage/Shaarli/archive/master
20 #    - GITHUB=shaarli/Shaarli/archive/v0.0.40beta
21     - GITHUB=shaarli/Shaarli/archive/v0.0.41beta
22     - GITHUB=shaarli/Shaarli/archive/v0.0.42beta
23 #    - GITHUB=shaarli/Shaarli/archive/v0.0.43beta
24 #    - GITHUB=shaarli/Shaarli/archive/v0.0.44beta
25     - GITHUB=shaarli/Shaarli/archive/v0.0.45beta
26     - GITHUB=shaarli/Shaarli/archive/v0.5.4
27     - GITHUB=shaarli/Shaarli/archive/v0.6.4
28     - GITHUB=shaarli/Shaarli/archive/v0.6.5
29     - GITHUB=shaarli/Shaarli/archive/master
30     - GITHUB=shaarli/Shaarli/archive/stable
31 #    - GITHUB=mro/Shaarli/archive/feature/thumbnails
32 matrix:
33   allow_failures:
34     # first community release is known to fail, too:
35     - env: GITHUB=shaarli/Shaarli/archive/v0.0.40beta
36     # why does this one fail?
37     - env: GITHUB=shaarli/Shaarli/archive/v0.0.42beta
38     - env: GITHUB=shaarli/Shaarli/archive/v0.5.4
39     - env: GITHUB=shaarli/Shaarli/archive/v0.6.4
40 before_install:
41   - sh scripts/download.sh
42 addons:
43   apt:
44     packages:
45     - xsltproc
46 #before_script:
47 #  # http://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps
48 script:
49   - sh scripts/run-tests.sh