Modify ↓
#13161 closed task (fixed)
Travis CI: Adapt configuration to Ubuntu Xenial
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.18 |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | travis-ci |
| Cc: | Branch: | ||
| Release Notes: |
Fixed Travis CI deployment and make compatible with Ubuntu Xenial. |
||
| API Changes: | |||
| Internal Changes: | |||
Description
Necessary changes are described here.
Attachments (0)
Change History (4)
comment:2 by , 6 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Committed to 1.0-stable in r16909, r16910. Merged to 1.2-stable in r16911, r16912, merged to trunk in r16913, r16914.
The builds are currently using Trusty, but these changes should prepare us for when Travis CI starts deploying images with Xenial.
In the future I will look into using pyenv for the Linux configurations.
comment:3 by , 6 years ago
| Summary: | Adapt Travis CI configuration to Ubuntu Xenial → Travis CI: Adapt configuration to Ubuntu Xenial |
|---|
Note:
See TracTickets
for help on using tickets.



This branch passes, but there may be a better way to do some things.
system_site_packages: true, I was seeing a failure:Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages/svn/core.py", line 26, in <module> from libsvn.core import * File "/home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages/libsvn/core.py", line 28, in <module> _core = swig_import_helper() File "/home/travis/virtualenv/python2.7.15/lib/python2.7/site-packages/libsvn/core.py", line 20, in swig_import_helper import _core ImportError: No module named _coreI couldn't determine the cause, and I can't reproduce in an Ubuntu 16.04 virtual machine, where creating the symbolic links for thesvnandlibsvndirectories succeeds. Thesystem_site_packagesdoesn't work with Python 2.6 on Trusty:source: deadsnakesand installpython2.6on Xenial, but the job fails before it even gets to installing from sources:Worker information hostname: 163d9006-81ab-4d12-9c08-2427e13655de@1.production-1-worker-org-gce-rxdx version: v6.2.0 https://github.com/travis-ci/worker/tree/5e5476e01646095f48eec13196fdb3faf8f5cbf7 instance: travis-job-69dee697-71c6-4961-81da-c5b416a02988 travis-ci-sardonyx-xenial-1553530528-f909ac5 (via amqp) startup: 6.494757605s system_info Build system information Build language: python Build group: stable Build dist: xenial Build id: 522026938 Job id: 522026939 Runtime kernel version: 4.15.0-1028-gcp travis-build version: d0a0ac852 Build image provisioning date and time Mon Mar 25 16:43:24 UTC 2019 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial Systemd Version systemd 229 Cookbooks Version 42e42e4 https://github.com/travis-ci/travis-cookbooks/tree/42e42e4 git version git version 2.21.0 bash version GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu) gcc version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 docker version Client: Version: 18.06.0-ce API version: 1.38 Go version: go1.10.3 Git commit: 0ffa825 Built: Wed Jul 18 19:11:02 2018 OS/Arch: linux/amd64 Experimental: false Server: Engine: Version: 18.06.0-ce API version: 1.38 (minimum version 1.12) Go version: go1.10.3 Git commit: 0ffa825 Built: Wed Jul 18 19:09:05 2018 OS/Arch: linux/amd64 Experimental: false clang version ... 2.6 is not installed; attempting download Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-2.6.tar.bz2 0.13s$ curl -sSf -o python-2.6.tar.bz2 ${archive_url} curl: (22) The requested URL returned error: 404 Not Found Unable to download 2.6 archive. The archive may not exist. Please consider a different version.Alternatively, there may be a way to usepyenvto install Python 2.6.