Skip to content

Commit 08c32be

Browse files
authored
Use an ENV variable to find build artifacts
This way it doesn't matter what the script section does
1 parent a11390f commit 08c32be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ deploy:
1616
provider: releases
1717
api_key: $GITHUB_TOKEN
1818
file_glob: true
19-
file: bundles/*
19+
file: $TRAVIS_BUILD_DIR/bundles/*
2020
skip_cleanup: true
2121
overwrite: true
2222
on:
@@ -29,4 +29,4 @@ script:
2929
- pylint adafruit_mpl3115a2.py
3030
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
3131
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-mpl3115a2 --library_location .
32-
- cd docs && sphinx-build -E -W -b html . _build/html && cd ..
32+
- cd docs && sphinx-build -E -W -b html . _build/html

0 commit comments

Comments
 (0)