-
Notifications
You must be signed in to change notification settings - Fork 2
/
circle.yml
29 lines (25 loc) · 893 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
general:
branches:
ignore:
- gh-pages
machine:
pre:
- sudo apt-get --yes -qq update
# update version of PhantomJS
- sudo apt-get --yes -qq install jq libicu52
- curl --output /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic https://s3.amazonaws.com/circle-support-bucket/phantomjs/phantomjs-2.0.1-linux-x86_64-dynamic
- chmod a+x /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic
- sudo ln -s --force /home/ubuntu/bin/phantomjs-2.0.1-linux-x86_64-dynamic /usr/local/bin/phantomjs
# update version of Docker
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.8.3-circleci'
- sudo chmod 0755 /usr/bin/docker
services:
- docker
dependencies:
pre:
- docker pull postgres:9.3
- docker pull mysql:5.6
- docker pull java:8
database:
override:
- bin/setup_databases