mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
30 lines
488 B
Bash
Executable File
30 lines
488 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
#
|
|
# Create a Heroku app with the following buildpack:
|
|
# https://github.com/ddollar/buildpack-tet
|
|
#
|
|
# Push this Python buildpack to that Heroku app to
|
|
# run the tests.
|
|
#
|
|
|
|
|
|
## utils ########################################
|
|
|
|
pushd $(dirname 0) >/dev/null
|
|
BASE=$(pwd)
|
|
popd >/dev/null
|
|
|
|
source ${BASE}/vendor/test-utils
|
|
|
|
detect() {
|
|
capture ${BASE}/bin/detect ${BASE}/test/$1
|
|
}
|
|
|
|
compile() {
|
|
capture ${BASE}/bin/compile ${BASE}/test/$1
|
|
}
|
|
|
|
source ${BASE}/vendor/shunit2
|
|
|