forked from Wikia/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (27 loc) · 932 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
language: php
php: 7.0
dist: trusty
sudo: required
addons:
apt:
sources:
# same as mysql-5.7-trusty travis alias, but you can't mix & match different source declaration types
- sourceline: "deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7"
key_url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8C718D3B5072E1F5"
- sourceline: "deb http://ppa.launchpad.net/jbboehr/mustache/ubuntu trusty main"
key_url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x7DAD64617A3EC228D368C50F9A90195D619F9E2B"
packages:
- mysql-server
- mysql-client
- libmustache-dev
install:
- pecl channel-update pecl.php.net
- pecl install uopz mustache
before_script: phpenv config-add tests/travis/php.ini
script:
- cd tests && ./php-tests.sh
- cd .. && composer run lint
# cache compiled version of pecl extensions
cache:
directories:
- /home/travis/.phpenv