forked from wp-property/wp-property
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
32 lines (25 loc) · 928 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
machine:
node:
version: 6.10.3
hosts:
wp-property-tests.github.com: 192.30.253.112
services:
- docker
dependencies:
cache_directories:
- "~/docker"
- "~/utils"
- "~/backups"
pre:
- mkdir -p ~/utils ~/docker ~/backups
- sudo rm -rf /home/ubuntu/wp-property-tests
- git clone [email protected]:wp-property/wp-property-tests.git /home/ubuntu/wp-property-tests --branch=master
- "node /home/ubuntu/wp-property-tests/bin/start-ngrok.js"
- "bash /home/ubuntu/wp-property-tests/bin/create-sql.sh"
- "bash /home/ubuntu/wp-property-tests/bin/prepare-for-docker.sh"
- "bash /home/ubuntu/wp-property-tests/bin/run-container.sh"
- "bash /home/ubuntu/wp-property-tests/bin/fix-permissions.sh"
- echo "Site at http://${CIRCLE_SHA1}-${CIRCLE_BUILD_NUM}.ngrok.io"
override:
- echo "Skipping composer install on purpose."
- NODE_ENV=development npm install