Skip to content

Commit c4a012d

Browse files
committed
update to Circle CI 2.0
1 parent ed2e95a commit c4a012d

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2.0
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: circleci/python:2.7-stretch-browsers
7+
steps:
8+
- checkout
9+
- run: "curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin"
10+
- run: "testspace config url samples.testspace.com"
11+
- run: "sudo pip install -r requirements.txt"
12+
- run: "sudo apt-get install pylint"
13+
- run: "pylint stock_alerter/ -f parseable > analysis.txt || true"
14+
- run: "nose2 --junit-xml --with-coverage"
15+
- run:
16+
name: Send reports to testspace
17+
command: "testspace analysis.txt{lint} nose2.xml{stock_alerter} coverage.xml"
18+
when: always

circle.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)