forked from notadd/notadd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (29 loc) · 936 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
language: php
php:
- 7.0
- 7.1
services:
- postgresql
- mysql
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS notadd;'
- psql -c 'create database notadd;' -U postgres
sudo: false
cache:
directories:
- $HOME/.composer/cache
install:
- composer self-update
- travis_retry composer install --no-interaction --prefer-source
before_script:
- git reset --hard HEAD
script:
- php notadd integration:configuration --driver=mysql --host=127.0.0.1 --port=3306 --database=notadd --username=root --prefix=pre_
- php notadd integration
- vendor/bin/phpunit --verbose
after_success:
- bash <(curl -s https://codecov.io/bash) -t 4916eb3f-d129-4484-a792-deda1c4f809c
notifications:
webhooks:
- https://hook.bearychat.com/=bwA22/travis/52fa443470377f35e5a3d068b8d2d5ca
- https://hook.bearychat.com/=bwA7K/travis/3c04d191a6066d3e178ab8d93643e708