Skip to content

Commit

Permalink
Merge pull request spdx#61 from spdx/circleci-2.0
Browse files Browse the repository at this point in the history
Migrate to Circle CI 2.0 as 1.0 will be shut down on August 31st, 2018
  • Loading branch information
sschuberth authored May 7, 2018
2 parents 1c2e376 + e99ea6f commit 354eaf6
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 26 deletions.
91 changes: 91 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
version: 2

jobs:
python_2_7_15:
shell: /bin/bash --login
macos:
xcode: '9.0'
steps:
- checkout
- run: |
brew update
python --version
sudo -H pip install --upgrade virtualenv
brew install pyenv
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
pyenv install 2.7.15
pyenv versions
pyenv global 2.7.15
python --version
- run: python setup.py install
- run: python setup.py test

python_3_4_8:
shell: /bin/bash --login
macos:
xcode: '9.0'
steps:
- checkout
- run: |
brew update
python --version
sudo -H pip install --upgrade virtualenv
brew install pyenv
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
pyenv install 3.4.8
pyenv versions
pyenv global 3.4.8
python --version
- run: python setup.py install
- run: python setup.py test

python_3_5_5:
shell: /bin/bash --login
macos:
xcode: '9.0'
steps:
- checkout
- run: |
brew update
python --version
sudo -H pip install --upgrade virtualenv
brew install pyenv
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
pyenv install 3.5.5
pyenv versions
pyenv global 3.5.5
python --version
- run: python setup.py install
- run: python setup.py test

python_3_6_5:
shell: /bin/bash --login
macos:
xcode: '9.0'
steps:
- checkout
- run: |
brew update
python --version
sudo -H pip install --upgrade virtualenv
brew install pyenv
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
pyenv install 3.6.5
pyenv versions
pyenv global 3.6.5
python --version
- run: python setup.py install
- run: python setup.py test

workflows:
version: 2
python_matrix_build:
jobs:
- python_2_7_15
- python_3_4_8
- python_3_5_5
- python_3_6_5
5 changes: 2 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
graft etc
graft tests
graft spdx
graft data
graft examples
graft spdx
graft tests

prune src/spdx_tools.egg-info

Expand Down
23 changes: 0 additions & 23 deletions circle.yml

This file was deleted.

0 comments on commit 354eaf6

Please sign in to comment.