Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tgamauf/53a7d2078c3c24943b109559b27c31bf to your computer and use it in GitHub Desktop.
Save tgamauf/53a7d2078c3c24943b109559b27c31bf to your computer and use it in GitHub Desktop.
Setting environment variables from .travis.yml
$ export TESTFOLDER=tests/end_to_end
0.01s$ source ~/virtualenv/python3.6.8/bin/activate
$ python --version
Python 3.6.8
$ pip --version
pip 18.1 from /home/travis/virtualenv/python3.6.8/lib/python3.6/site-packages/pip (python 3.6)
before_install.1
2.41s$ sudo -H apt-get update
Hit:1 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
before_install.2
10.04s$ sudo -H apt-get install -y openjdk-8-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre
Suggested packages:
openjdk-8-demo openjdk-8-source visualvm icedtea-8-plugin libnss-mdns
fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
fonts-wqy-microhei fonts-wqy-zenhei fonts-indic
Recommended packages:
fonts-dejavu-extra
The following packages will be upgraded:
openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless
4 upgraded, 0 newly installed, 0 to remove and 162 not upgraded.
Need to get 36.6 MB of archives.
After this operation, 25.6 kB disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jdk amd64 8u212-b03-0ubuntu1.16.04.1 [1,339 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jdk-headless amd64 8u212-b03-0ubuntu1.16.04.1 [8,199 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jre amd64 8u212-b03-0ubuntu1.16.04.1 [69.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jre-headless amd64 8u212-b03-0ubuntu1.16.04.1 [27.0 MB]
Fetched 36.6 MB in 0s (46.1 MB/s)
(Reading database ... 124189 files and directories currently installed.)
Preparing to unpack .../openjdk-8-jdk_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jdk:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Preparing to unpack .../openjdk-8-jdk-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jdk-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Preparing to unpack .../openjdk-8-jre_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jre:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Preparing to unpack .../openjdk-8-jre-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up openjdk-8-jre-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Installing new version of config file /etc/java-8-openjdk/calendars.properties ...
Installing new version of config file /etc/java-8-openjdk/security/java.security ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/clhsdb to provide /usr/bin/clhsdb (clhsdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/hsdb to provide /usr/bin/hsdb (hsdb) in auto mode
Setting up openjdk-8-jre:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Setting up openjdk-8-jdk-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Setting up openjdk-8-jdk:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
1.37s$ sudo -H pip install .
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
warnings.warn(warning, RequestsDependencyWarning)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Processing /home/travis/build/mostly-ai/mostly-engine
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-_7P_WR/setup.py", line 25
def _get_module(module_path: str) -> Any:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-_7P_WR/
The command "sudo -H pip install ." failed and exited with 1 during .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment