This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare v01 release, add towncrier (#73)
* Add towncrier * Patch install script * Add release stage to CI (temporarily disabled)
- Loading branch information
1 parent
fa9e9cc
commit fe763ff
Showing
7 changed files
with
122 additions
and
55 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 |
---|---|---|
@@ -1,52 +1,89 @@ | ||
trigger: | ||
- master | ||
- development | ||
branches: | ||
include: | ||
- master | ||
- development | ||
tags: | ||
include: | ||
- v* | ||
|
||
pr: | ||
branches: | ||
include: | ||
- '*' | ||
|
||
jobs: | ||
# QA | ||
- job: lint | ||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
steps: | ||
- template: ci/lint.yml | ||
stages: | ||
- stage: Build | ||
jobs: | ||
# QA | ||
- job: lint | ||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
steps: | ||
- template: ci/lint.yml | ||
|
||
# Build | ||
# Linux | ||
# TODO: Turn off Linux Testing until https://github.com/sdispater/poetry/issues/1197 is resolved | ||
# - job: test_linux | ||
# dependsOn: lint | ||
# pool: | ||
# vmImage: 'ubuntu-16.04' | ||
# strategy: | ||
# matrix: | ||
# Python36: | ||
# python.version: '3.6' | ||
# steps: | ||
# - bash: | | ||
# sudo apt update | ||
# sudo apt install swig3.0 | ||
# sudo ln -s /usr/bin/swig3.0 /usr/bin/swig | ||
# displayName: Install swig on Linux | ||
# - template: ci/install.yml | ||
# - template: ci/tests.yml | ||
|
||
# Linux | ||
# TODO: Turn off Linux Testing until https://github.com/sdispater/poetry/issues/1197 is resolved | ||
# - job: install_linux | ||
# dependsOn: lint | ||
# pool: | ||
# vmImage: 'ubuntu-16.04' | ||
# strategy: | ||
# matrix: | ||
# Python36: | ||
# python.version: '3.6' | ||
# steps: | ||
# - bash: | | ||
# sudo apt update | ||
# sudo apt install swig3.0 | ||
# sudo ln -s /usr/bin/swig3.0 /usr/bin/swig | ||
# displayName: Install swig on Linux | ||
# - template: ci/install.yml | ||
# - template: ci/tests.yml | ||
#MacOS | ||
- job: test_macos | ||
dependsOn: lint | ||
pool: | ||
vmImage: 'macOS-10.13' | ||
strategy: | ||
matrix: | ||
Python36: | ||
python.version: '3.6' | ||
steps: | ||
- script: | | ||
brew install swig | ||
brew install gcc@5 | ||
displayName: Install Brew packages | ||
- template: ci/install.yml | ||
- template: ci/tests.yml | ||
|
||
#MacOS | ||
- job: install_macos | ||
dependsOn: lint | ||
pool: | ||
vmImage: 'macOS-10.13' | ||
strategy: | ||
matrix: | ||
Python36: | ||
python.version: '3.6' | ||
steps: | ||
- script: | | ||
brew install swig | ||
brew install gcc@5 | ||
displayName: Install Brew packages | ||
- template: ci/install.yml | ||
- template: ci/tests.yml | ||
# TODO: switch to linux box release when the above is fixed | ||
# - stage: Release | ||
# condition: contains(variables['Build.SourceBranch'], 'tags') | ||
# jobs: | ||
# - job: release | ||
# pool: | ||
# vmImage: 'macOS-10.13' | ||
# steps: | ||
# - task: UsePythonVersion@0 | ||
# inputs: | ||
# versionSpec: '3.6' | ||
# displayName: Select Python version | ||
# - script: | | ||
# brew install swig | ||
# brew install gcc@5 | ||
# displayName: Install Brew packages | ||
# - template: ci/install.yml | ||
# - script: $HOME/.poetry/bin/poetry build | ||
# $HOME/.poetry/bin/poetry publish -u $(pypi_username) -p $(pypi_password) | ||
# displayName: Release to pypi | ||
# - task: GitHubRelease@0 | ||
# inputs: | ||
# gitHubConnection: georgianpartners | ||
# repositoryName: georgianpartners/foreshadow | ||
# tagSource: 'auto' | ||
# assets: | ||
# dist/* | ||
# displayName: Add release to GitHub |
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,3 @@ | ||
.. _changelog: | ||
|
||
Changelog | ||
========= | ||
|
||
v0.1 | ||
^^^^ | ||
- Initial Release | ||
.. towncrier release notes start |
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 @@ | ||
!.gitignore |
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 @@ | ||
Initial release. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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