forked from NatLibFi/Skosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 1.11 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
sudo: required
dist: trusty
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
install:
- phpenv config-rm xdebug.ini
- composer install
cache:
directories:
- $HOME/.composer
- vendor
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- cd tests
- export LANGUAGE=fr
- sh ./init_fuseki.sh
- cd ..
script:
- phpdbg -qrr vendor/bin/phpunit
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- bash <(curl -s https://codecov.io/bash)
- pkill -f 'java -Xmx1200M -jar'
env:
global:
- CC_TEST_REPORTER_ID=fb98170a5c7ea9cc2bbab19ff26268335e6a11a4f8267ca935e5e8ff4624886c
matrix:
- FUSEKI_VERSION=3.14.0
- FUSEKI_VERSION=SNAPSHOT
matrix:
exclude:
- php: 7.1
env: FUSEKI_VERSION=SNAPSHOT
- php: 7.2
env: FUSEKI_VERSION=SNAPSHOT
- php: 7.4
env: FUSEKI_VERSION=SNAPSHOT
allow_failures:
- php: 7.4
- env: FUSEKI_VERSION=SNAPSHOT
notifications:
slack: kansalliskirjasto:9mOKu3Vws1CIddF5jqWgXbli