Skip to content

Commit

Permalink
Use BASH_ENV in circle ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiroiban committed Mar 20, 2018
1 parent a77739b commit a2eaf3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@ jobs:

- run:
name: Prepare the environment.
# CircleCI 2.0 automatically sets a $BASH_ENV variable to a
# random name in /tmp, and will source this file for each step.
command: |
python --version
pip install -q --user --ignore-installed --upgrade virtualenv
pip install -q tox --user
echo 'export PATH=~/.local/bin:$PATH' >> $BASH_ENV
# Run each checker in a separate step.
- run:
name: Check newsfragment.
command: |
export PATH=~/.local/bin:$PATH
tox -r -e newsfragment
- run:
name: Check manifest-checker.
Expand Down

0 comments on commit a2eaf3e

Please sign in to comment.