-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathcircle.yml
41 lines (35 loc) · 1.22 KB
/
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
39
40
41
machine:
hosts:
eventator.loc: 127.0.0.1
php:
version: 5.6.14
checkout:
post:
- cp app/config/parameters.circle.yml app/config/parameters.yml
- cp app/config/parameters.circle.yml app/config/parameters_test.yml
- cp var/ci/behat.ci.yml ./behat.yml
dependencies:
cache_directories:
- vendor # relative to the build directory
- bin # relative to the build directory
override:
- composer install --prefer-source --no-interaction
post:
- cp var/ci/eventator.loc.conf /etc/apache2/sites-available
- a2ensite eventator.loc.conf
- sudo service apache2 restart
database:
override:
- app/console doctrine:database:drop -e test --no-interaction --force
- app/console doctrine:database:create -e test --no-interaction
## Customize test commands
test:
pre:
- chmod -R 777 app/cache
- chmod -R 777 app/logs
- wget http://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar
- nohup bash -c "java -jar selenium-server-standalone-2.48.2.jar &"
override:
- bin/phpspec run -fpretty --verbose --no-interaction
- bin/behat --no-snippets --verbose -fpretty -p frontend
- bin/behat --no-snippets --verbose -fpretty -p backend