Skip to content

Travis build from fork fixed. #568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ env:

### === GITHUB_PERSONAL_TOKEN === ###
## To update: travis encrypt GITHUB_PERSONAL_TOKEN=################################
- secure: "GmdokEVWFS4LlSIdhfYvET+53hcuN9gN5gbhYduWkvyqvCJnP5PENzxdDz6Y3EJCSXxfKTT+jBLmJkgOElgeWxyAEa+wGj3jJzpjFD8BEcxIf5mNsyJ2LryzecFoKjcCR7viid14GDEYSeA3UB0MgKgitm9rMmcQ2W9RLJfAmTfGRQ+kMwhM7GTeFc5c99YL7DW7AUFSbiAac/k50AMx2j9KNT1JAGhDoc5yVTdVvtKrdtuCZUa82q4Cm/h4IEd6BbNrcImYyxQ814LHCrHWBi9jmuc+UxqvsTH1ErNapIObz490ri3DmZg+LUrH5dIuhSa5HGqZjob6tKG6XCKFWOuv9E73+URDitJllXHc1qSP/K61SMmsQrE2FnaxVjxpQCOcqueRMKszwH5/k3UoGbUPWsBFwbBznXrnHO/DNHAgL9XwOFP6biPP8TKp2ReX41YwcU6sbiYb7naGWo3Dhe+yEB9wBGOwuGHipDQm9R4SSIJgjpdc642KjcEMQqb3yL7DWpOmItXMxoGNM+X93kU4u4u1tGgq1yxnhEk6VG2l/yI6A2QOVIPyOu+L9FkZL3mrl9mbUeBKr/SHX4CTFODi5io8D0lqwNSRZrmi/GGWh2glbNnTapD67UnTnsh/6LE2YiSqGteH47EByb9V4ykrjfdv5EZhyJNwI7jYPDw="
- secure: "kMxg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xwB+Lwzkwmq1u/UZH3tiqZ/q1qFs4hnuxceBWh4dSmtYcxKWsVV2dRXQpoA7ap3hlRptUE3KK2NvsyOdxo4gqCGGxduwyc71z6eZKjXMCXumz6L+Wj34XEDGvA4BWmnWetpc2KywfTFm/2UshxJOXD5RWOkYOGgWojdDQ5n90l16oyVq+23bDXOtKPSQ0UDbleh0u97atDnpY08JLFudNf4W4CK+IZFsu608FwfMy0TPMFPd/kYEcz+dOTluNxO1lSUxcFItmM/05NboEsuYMnreHoFJfNNxiHMeF/kb4DuAEG2jQ="
### === DANGER_GITHUB_API_TOKEN === ###
## To update: travis encrypt DANGER_GITHUB_API_TOKEN=################################
- secure: "T7uFuuOYciFHnz+5C+XhN7yhCc56tyC9a9eaiaZQExEO7UGazkGUU+S9OsJdfktnQuhoKPs+x7tCSDi+HXcEtjPOeKCgCGaC45LDEpeTm4emuRY93wXF9zOmwBMipsKOac/XGYtnrXwnlFLvkJo79TlPMPFNMeSvoubNjZhtc7bIXcsi7BxG89D/k3RPxXotGHy/bKHums7td8McwXrdbUSSLXBzydrzmFuo4b2DLpKmD/BSHkiHAFqxO5GwZQ/FFUdnaFwAkTJnpk6WBTlhfY0FyrmqthFKgdJtsvuFYIarSifyo1+lHo502tBYlinRJ3h8gh56TtgRyD4sqRRCv9JgjjzU378TO3ylmCcVxxvp4Xb0c45I1gLoZPdMUZMuCCrpT73bR/cJi1BNpYxWnKEDmRJpV92hr4QAIvJI4v2m9/lE44kESdKGw9c4P8TxaTtWSf+0w3kbJSJTzhgAJubYRLTQV/lTg/KY6zHBDRq5Mnv3+96XpQQldZbVrrCoiisR5wbdMfIk/1DJkHaYNFVGQy+RT6IG2fuPTSdRuO56NiCcnH6SVqDtGkjVbGynw2/2KlPvi/heuDW/g+OVtkZ0Hcfm+ntJT89GE0CeUPvaactJe11N+UuJo3150fu9zaOLBGtghgQe+u9cwjb4YA4Y/6yJSk0ZzbgxwE5C1Rc="


install:
Expand All @@ -32,7 +33,12 @@ script:
# units test
# https://docs.pytest.org/en/latest/
- pytest
- if [ "$TRAVIS_PYTHON_VERSION" == '3.6' ] && [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then bundle install && bundle exec danger; fi

# Only run under the following conditions:
# - Python is version 3.6 => Do not run it 3 three times for each build
# - It is a PR build, not necessary in Push Commits.
# - Make sure the variable `DANGER_GITHUB_API_TOKEN` is defined, when a PR is sent from a fork, encrypted vars are not defined, thus the build would be failing.
- if [ "$TRAVIS_PYTHON_VERSION" == '3.6' ] && [ "$TRAVIS_EVENT_TYPE" = "pull_request" ] && [ "$DANGER_GITHUB_API_TOKEN" ]; then bundle install && bundle exec danger; fi

before_deploy:
- python setup.py sdist
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* `Removed` for now removed features.
* `Fixed` for any bug fixes.
* `Security` in case of vulnerabilities.
* `Contributors` to thank the contributors that worked on this PR.

============== How To Update The Changelog for a New Release ==============

Expand All @@ -37,6 +38,23 @@ To release a new version, please update the changelog as followed:

## [Unreleased]

### Added
- Danger CI has been added to enforce the update of the changelog by @lgarithm and @DEKHTIARJonathan

### Changed

### Deprecated

### Removed

### Fixed

### Security

### Contributors



## [1.8.5] - 2018-05-09

### Added
Expand All @@ -51,5 +69,8 @@ To release a new version, please update the changelog as followed:

### Security

### Contributors
@zsdonghao @luomai @DEKHTIARJonathan @2wins @auroua

[Unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/1.8.5...master
[1.8.5]: https://github.com/tensorlayer/tensorlayer/compare/1.8.4...1.8.5