From fd96d143398f3245208740f00d8ddfaf5144f0dd Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 24 Jul 2018 00:11:51 +0700 Subject: [PATCH] .circleci/: Install test-requirements.txt first 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. --- .circleci/config.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e30b25ff6a..b78b20a0b3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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