forked from coala/coala-bears
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
60 lines (58 loc) · 1.99 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
dependencies:
cache_directories:
- ~/.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 R_LIB_USER=~/.RLibrary' >> ~/.circlerc
- sed -i '/source \/home\/ubuntu\/virtualenvs\//d' ~/.circlerc
- mkdir -p ~/.RLibrary
- nvm alias default node
override:
- 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:
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
- bash .ci/deploy.coverage.sh:
parallel: true
- rm -rf docs/API && make -C docs clean
- python setup.py docs:
parallel: true