Skip to content

Commit

Permalink
Split the steps. Simplify the config.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Mar 19, 2018
1 parent 9a9ac32 commit 724dfae
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,26 @@ version: 2
jobs:
build:
macos:
xcode: "9.3.0"
# We don't use the xcode, but we need to put something here.
xcode: "9.0"

working_directory: ~/repo

steps:
# Get the source.
- checkout

# Run tests with tox without any cached dependencies.
- run:
name: run tests
name: prepare environment
command: |
export PATH=/usr/local/bin:$PATH:/Users/distiller/Library/Python/2.7/bin
python --version
pip install -q --user --ignore-installed --upgrade virtualenv
pip install -q tox --user
tox -r -e py27-alldeps-nocov-posix twisted
# For this is a simple workflow with a single stage.
workflows:
version: 2
test:
jobs:
- build
# Run tests with tox without any cached dependencies.
- run:
name: run tests
command: |
export PATH=/usr/local/bin:$PATH:/Users/distiller/Library/Python/2.7/bin
tox -r -e py27-alldeps-nocov-posix twisted

0 comments on commit 724dfae

Please sign in to comment.