Apologies if this has already been posted, a quick search didn’t seem to turn anything up, but there were a lot of hits.
I’m trying to cut our build scripts over to a more modern Travis setup (from the current versions which brute-forces everything using sudo), and I’m having a problem switching over to using:
language: python virtualenv: system_site_packages: true
The build matrix I’m setting up does two different Linux builds, one in Xenial and the other in Bionic. The Xenial build is failing with:
$ source ~/virtualenv/python3.6_with_system_site_packages/bin/activate /home/travis/.travis/functions: line 109: /home/travis/virtualenv/python3.6_with_site_packages/bin/activate: No such file or directory The command "source ~/virtualenv/python3.6_with_system_site_packages/bin/activate" failed and exited with 1 during .
Yet the Bionic builds have no problem with that same command. (Ignore the final status, they’re currently failing for different reasons.)