mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 15:00:19 +00:00
2d290e94e9
- Add stage to Travis CI config and update tests.sh script to recognize it - Update tests to assert there is no Python 2 on Heroku-18 - Update nltk fixture to use Python 3.6 so we can test it on all stacks Closes gh-730
22 lines
350 B
Bash
Executable File
22 lines
350 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [[ ! "$STACK" ]]; then
|
|
echo '$STACK must be set! (heroku-16 | cedar-14)'
|
|
exit 1
|
|
fi
|
|
|
|
if [[ "$STACK" == "cedar-14" ]]; then
|
|
make test-cedar-14
|
|
exit $?
|
|
fi
|
|
|
|
if [[ "$STACK" == "heroku-16" ]]; then
|
|
make test-heroku-16
|
|
exit $?
|
|
fi
|
|
|
|
if [[ "$STACK" == "heroku-18" ]]; then
|
|
make test-heroku-18
|
|
exit $?
|
|
fi
|