diff --git a/.gitignore b/.gitignore index e4aea17..6d3aa82 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.pyc site .DS_Store + +/.envrc diff --git a/Makefile b/Makefile index 1904567..7d4ae90 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # These targets are not files .PHONY: tests -test: test-cedar-14 +test: test-heroku-16 test-cedar-14: @echo "Running tests in docker (cedar-14)..." diff --git a/test/fixtures/geos/requirements.txt b/test/fixtures/geos/requirements.txt new file mode 100644 index 0000000..68d357c --- /dev/null +++ b/test/fixtures/geos/requirements.txt @@ -0,0 +1 @@ +django \ No newline at end of file diff --git a/test/run b/test/run index 1e66072..7c042a3 100755 --- a/test/run +++ b/test/run @@ -1,6 +1,5 @@ #!/usr/bin/env bash - testPipenv() { compile "pipenv" assertCapturedSuccess @@ -17,6 +16,11 @@ testNoRequirements() { assertCapturedError } +testGEOS() { + BUILD_WITH_GEO_LIBRARIES=1 compile "geos" + assertCaptured "geos" + assertCapturedSuccess +} testNLTK() { compile "nltk" @@ -24,7 +28,6 @@ testNLTK() { assertCapturedSuccess } - testSetupPy() { compile "setup-py" assertCaptured "maya"