forked from spdx/tools-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request spdx#61 from spdx/circleci-2.0
Migrate to Circle CI 2.0 as 1.0 will be shut down on August 31st, 2018
- Loading branch information
Showing
3 changed files
with
93 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file was deleted.
Oops, something went wrong.