Skip to content

Commit

Permalink
.circleci/: Install test-requirements.txt first
Browse files Browse the repository at this point in the history
test-requirements.txt contains overrides needed to ensure
pip installs suitable versions of dependencies, especially
of pip.

Also move pytest before installing dependencies of coala-ci.
  • Loading branch information
jayvdb committed Jul 28, 2018
1 parent 55e4be0 commit fd96d14
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ jobs:
echo "export NVM_DIR=$HOME/.nvm" >> $BASH_ENV
echo "export PATH=~/.local/bin:$PATH" >> $BASH_ENV
- run:
name: install-csslint
command: |
curl -o- \
https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh\
| bash
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 8
npm install -g csslint
- run:
name: dependencies
command: |
pip install --user \
-r test-requirements.txt \
-r requirements.txt \
-r docs-requirements.txt \
-r test-requirements.txt
-r docs-requirements.txt
- run:
name: pytest
when: always
command: python -m pytest

- run:
name: install-csslint
command: |
curl -o- \
https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh\
| bash
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 8
npm install -g csslint
- run:
name: install-shellcheck
command: sudo apt-get install shellcheck
Expand Down

0 comments on commit fd96d14

Please sign in to comment.