forked from JKershaw/RDTOM-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
38 lines (34 loc) · 839 Bytes
/
circle.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
machine:
php:
version: 5.4.4
environment:
ENVIRONMENT: development
hosts:
rdtom: 127.0.0.1
post:
- phantomjs --webdriver=4444:
background: true
dependencies:
post:
- sudo a2enmod rewrite
- sudo a2enmod headers
- sudo a2enmod authn_default
- sudo a2enmod auth_digest
- sudo cp ~/RDTOM-Source/tests/config/rdtom /etc/apache2/sites-available
- sudo a2ensite rdtom
- sudo service apache2 restart
database:
override:
- mysql -u ubuntu circle_test < tests/_data/dump.sql
test:
post:
- php codecept.phar run unit --steps
- php codecept.phar run api --steps --debug
- php codecept.phar run acceptance --steps --debug
- ./show_output
- sudo tail -100 /var/log/apache2/error.log
deployment:
master:
branch: master
commands:
- ./deploy.sh