-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
32 lines (27 loc) · 1015 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
language: php
php:
- 5.4
- hhvm
before_script:
- sudo apt-get update > /dev/null
- sudo apt-get install -y --force-yes apache2 libapache2-mod-php5 php5-curl php5-mysql php5-intl
- sudo sed -i -e "s,/var/www,$(pwd)/web,g" /etc/apache2/sites-available/default
- sudo /etc/init.d/apache2 restart
- echo "127.0.0.1 hubdrop.travis" | sudo tee -a /etc/hosts
- sudo /etc/init.d/apache2 restart
- app/console do:da:cr -e=test > /dev/null
- app/console do:sc:cr -e=test > /dev/null
- chmod -R 777 app/cache app/logs
- app/console --env=test cache:warmup
- chmod -R 777 app/cache app/logs
- export SYMFONY__APP__GITHUB__USERNAME=hubdrop-user
- export SYMFONY__APP__GITHUB__ORGANIZATION=drupalprojects
- export SYMFONY__APP__GITHUB__AUTHORIZATION=xyz
- export SYMFONY__APP__DRUPAL__USERNAME=hubdrop
script:
- phpunit -c app src/
- bin/behat
# - bin/behat @KnpAnotherBundle
# configure notifications (email, IRC, campfire etc)
notifications:
irc: "irc.freenode.org#hubdrop"