Unify Vagrant and Travis-CI tests
commit6d24613b0b453e546fa4e9defc695d8f982743c9
authorAnish Athalye <me@anishathalye.com>
Fri, 3 Jan 2020 20:20:00 +0000 (3 15:20 -0500)
committerAnish Athalye <me@anishathalye.com>
Fri, 3 Jan 2020 20:34:46 +0000 (3 15:34 -0500)
tree7e5124b2606284ef761cd69fcb8892d0038d297d
parent1e1885c45a28190dc1cbde993a9ddcf1729ee4d1
Unify Vagrant and Travis-CI tests

This patch makes the tests (including the test driver) run entirely
inside Vagrant, which avoids calling the very slow `vagrant` driver many
times for running the tests. On my machine, `./test` runs in 22 seconds,
down from hundreds of seconds prior to this patch.

This also has the nice side effect of matching how the Travis CI tests
were run, so there's no need for a separate `test_travis` anymore.
.travis.yml
test/README.md
test/Vagrantfile
test/driver-lib.bash
test/test
test/test-lib.bash
test/test_travis [deleted file]
test/tests/find-python-executable.bash
test/tests/shim.bash