Skip to content

Commit

Permalink
Fix azure pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-sgaron committed Apr 9, 2020
1 parent 6d310ee commit 07f4a35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ stages:
displayName: Set python version
inputs: {versionSpec: 2.7}
- script: |
set -x # Echo commands before they are run
sudo env "PATH=$PATH" python -m pip install --no-cache-dir -U wheel cython pip
python setup.py bdist_wheel
- publish: $(System.DefaultWorkingDirectory)/dist/
Expand Down
3 changes: 2 additions & 1 deletion pipelines/azure-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
inputs:
versionSpec: '2.7'
- script: |
set -x # Echo commands before they are run
sudo mkdir -p /etc/assemblyline/
sudo mkdir -p /var/log/assemblyline/
sudo cp test/config.yml /etc/assemblyline
sudo apt-get update
sudo apt-get install -y build-essential libffi-dev libfuzzy-dev python2-dev
sudo apt-get install -y build-essential libffi-dev libfuzzy-dev python2.7-dev
sudo env "PATH=$PATH" python -m pip install --no-cache-dir -e . -r test/requirements.txt
displayName: Setup environment
- script: python -m pytest -rsx -vv
Expand Down

0 comments on commit 07f4a35

Please sign in to comment.