-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 889 Bytes
/
.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
language: php
sudo: false
addons:
apt:
packages:
- libtomcrypt-dev
- valgrind
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
notifications:
email: false
irc:
channels:
- "irc.iiens.net#Clicky"
on_success: change
on_failure: always
before_install:
- export TEST_PHP_EXECUTABLE=`which php`
- export TEST_PHP_SRCDIR=`pwd`
- export REPORT_EXIT_STATUS=1
- export NO_INTERACTION=1
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] && [ "$TRAVIS_PHP_VERSION" = "nightly" ]; then export TEST_OPTIONS=-m; else export TEST_OPTIONS=; fi
install:
- phpize
- ./configure
- make
- make install
- echo "extension=tomcrypt.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/tomcrypt.ini
script:
- php run-tests.php $TEST_OPTIONS -q --show-diff