forked from coala/coala-bears
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
70 lines (68 loc) · 2.16 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
dependencies:
cache_directories:
- docs/_build
- ~/.pyenv/versions/3.4.3
- ~/.pyenv/versions/3.5.1
- ~/coala-bears/node_modules
- ~/coala-bears/.bundle
- ~/coala-bears/vendor
- ~/.RLibrary
- ~/dart-sdk/bin
- ~/.cabal
- ~/.ghc
- ~/.ghc-mod
- ~/infer-linux64-v0.7.0
- ~/nltk_data
- ~/pmd-bin-5.4.1
- ~/.local/share/coala-bears
- ~/bakalint-0.4.0
- ~/.julia
- ~/.local/tailor/
pre:
- sudo rm -rf /var/cache/apt/archives
- sudo ln -s ~/.apt-cache /var/cache/apt/archives
- mkdir -p ~/.apt-cache/partial
- echo 'export PATH=$PATH:~/coala-bears/node_modules/.bin' >> ~/.circlerc
- echo 'export PATH=$PATH:~/coala-bears/vendor/bin' >> ~/.circlerc
- echo 'export LINTR_COMMENT_BOT=false' >> ~/.circlerc
- echo 'export PATH=$PATH:~/dart-sdk/bin' >> ~/.circlerc
- echo 'export PATH=$PATH:~/.cabal/bin' >> ~/.circlerc
- echo 'export PATH=$PATH:~/infer-linux64-v0.7.0/infer/bin' >> ~/.circlerc
- echo 'export PATH=$PATH:~/pmd-bin-5.4.1/bin' >> ~/.circlerc
- echo 'export PATH=$PATH:~/bakalint-0.4.0' >> ~/.circlerc
- echo 'export PATH=$PATH:~/.local/tailor/tailor-latest/bin' >> ~/.circlerc
- echo 'export PATH=$PATH:~/elm-format-0.18' >> ~/.circlerc
- echo 'export PATH=$PATH:~/phpmd' >> ~/.circlerc
- echo 'export R_LIB_USER=~/.RLibrary' >> ~/.circlerc
- sed -i '/source \/home\/ubuntu\/virtualenvs\//d' ~/.circlerc
- mkdir -p ~/.RLibrary
- nvm alias default node
override:
- bash .ci/deps.apt.sh
- bash .ci/deps.pip.sh
- bash .ci/deps.java.sh
- bash .ci/deps.opam.sh
- bash .ci/deps.r.sh
- bash .ci/deps.cabal.sh
- bash .ci/deps.sh:
timeout: 900 # Allow 15 mins before timing out due to "no output"
- bash .ci/deps.coala-bears.sh
machine:
node:
version: 6.10.2
java:
version: oraclejdk8
test:
override:
- python setup.py bdist_wheel:
parallel: true
- pip install $(ls ./dist/*.whl)"[alldeps]":
parallel: true
- bash .ci/tests.sh:
parallel: true
- coala-ci -L DEBUG:
parallel: true
- codecov:
parallel: true
- python setup.py docs:
parallel: true