-
Notifications
You must be signed in to change notification settings - Fork 303
/
circle.yml
34 lines (32 loc) · 1003 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
32
33
34
machine:
python:
version: 2.7.11
node:
version: 6.1.0
dependencies:
cache_directories:
- "node_modules"
override:
- pip install -r requirements_sphinx.txt
- pip install -e .
- make assets
- make docs
- wget -O geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.10.0/geckodriver-v0.10.0-linux64.tar.gz
- gunzip -c geckodriver.tar.gz | tar xopf -
- chmod +x geckodriver
- sudo mv geckodriver /home/ubuntu/bin
test:
pre:
- export PATH="$PATH:/home/ubuntu/bin"
override:
- kalite start --traceback -v2
- sleep 6s # Necessary for server to be ready
- kalite status
- kalite stop --traceback -v2
- case $CIRCLE_NODE_INDEX in 0) coverage run bin/kalite manage test --bdd-only ;; 1) coverage run bin/kalite manage test --no-bdd;; esac:
parallel: true
- npm install -g jshint
- jshint kalite/*/static/js/*/
post:
- bash <(curl -s https://codecov.io/bash):
parallel: true