Skip to content
New issue

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

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

Already on GitHub? # to your account

Export travis job number #63

Merged
merged 1 commit into from
Apr 28, 2020
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
3 changes: 2 additions & 1 deletion .templates/remote-script.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

{% block remote_script %}
{{ super() }}
export TRAVIS_JOB_NUMBER="$TRAVIS_JOB_NUMBER"
export TRAVIS_BRANCH="$TRAVIS_BRANCH"
export TRAVIS_TAG="$TRAVIS_TAG"
export TEST_ARGS="$TEST_ARGS"
Expand All @@ -30,7 +31,7 @@
{% block after_script %}
{% if remote_script == "docs" %}
REMOTE_FAILED_FILE="tmp/nengo-fpga-$TRAVIS_JOB_NUMBER/{{ pkg }}/$TRAVIS_JOB_NUMBER.failed"
ssh -q {{ host }} [[ -e "$REMOTE_FAILED_FILE" ]] && scp {{ host }}:"$REMOTE_FAILED_FILE" .
ssh -q {{ host }} [[ -e "$REMOTE_FAILED_FILE" ]] && exe scp {{ host }}:"$REMOTE_FAILED_FILE" .
exe rsync -azh "{{ host }}:./tmp/{{ pkg }}-$TRAVIS_JOB_NUMBER/{{ pkg }}-docs" ..
{% endif %}
exe bash .ci/{{ remote_script }}.sh after_script
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Release History
(`#45 <https://github.com/nengo/nengo-fpga/pull/45>`__)
- Start using intersphinx, rename docs using '-'.
(`#48 <https://github.com/nengo/nengo-fpga/pull/48>`__)
- Add TRAVIS_JOB_NUMBER to exported variables in remote-docs.sh.
(`#63 <https://github.com/nengo/nengo-fpga/pull/63>`__)


0.2.1 (September 17, 2019)
Expand Down