-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcircle.yml
41 lines (41 loc) · 1.32 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:
ruby:
version: 2.3.1
node:
version: 0.10.22
php:
version: 5.5.11
python:
version: 2.7.9
environment:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
ORG_NAME: mikesive
dependencies:
cache_directories:
- ~/nvm
- "node_modules"
- ~/bliss
- ~/repos
- ~/pmd
- ~/phpcs
- ~/wpcs
- ~/fpart
pre:
- sudo locale-gen en_US.UTF-8
- sudo apt-get install autoconf
- npm install -g jshint
- npm install -g jshint-json
- mkdir -p ~/repos
- if [[ ! -d ~/repos/bliss-php-repo ]]; then git clone https://[email protected]/mikesive/bliss-php-repo.git ~/repos/bliss-php-repo; fi
- if [[ ! -d ~/pmd ]]; then git clone https://github.com/iconnor/pmd.git ~/pmd; fi
- if [[ ! -d ~/phpcs ]]; then git clone https://github.com/squizlabs/PHP_CodeSniffer.git ~/phpcs; fi
- if [[ ! -d ~/wpcs ]]; then git clone https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs; fi;
- ~/phpcs/scripts/phpcs --config-set installed_paths wpcs;
- if [[ ! -d ~/fpart ]]; then git clone https://github.com/martymac/fpart.git ~/fpart; fi
- cd ~/fpart && autoreconf -i && ./configure && sudo make && sudo make install
override:
- rvm install rubygems 2.4.8 --force
- gem install bundler
- bundle install