Edgewall Software

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12200 closed enhancement (fixed)

Travis CI: Migrate to container-based infrastructure

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 0.12.8
Component: general Version:
Severity: normal Keywords: travis-ci
Cc: Branch:
Release Notes:

Moved to Travis CI's new contained-based infrastructure.

API Changes:


Travis CI recommends migrating to the new container-based infrastructure. It looks like only minor changes would be needed to travis.yml.

Attachments (0)

Change History (4)

comment:1 by Ryan J Ollos, 4 years ago

Owner: set to Ryan J Ollos
Status: newassigned

Proposed change:

  • .travis.yml

    diff --git a/.travis.yml b/.travis.yml
    index 985b2d8..b97d9b9 100644
    a b  
    11language: python
     2sudo: false
    34  - "2.6"
    45  - "2.7_with_system_site_packages"
    89  - "TRAC_TEST_DB_URI=postgres://tracuser:password@localhost/trac?schema=tracte
    910  - "TRAC_TEST_DB_URI=mysql://tracuser:password@localhost/trac"
    11   - sudo apt-get update -qq
    12   - sudo apt-get install -qq python-subversion
    1312  - psql -U postgres -c "CREATE USER tracuser NOSUPERUSER NOCREATEDB CREATEROLE
    1413  - psql -U postgres -c "CREATE DATABASE trac OWNER tracuser;"
    1514  - mysql -u root -e "CREATE DATABASE trac DEFAULT CHARACTER SET utf8mb4 COLLAT
    1918  - pip install -q Genshi==0.7 Babel Pygments docutils lxml pytz twill==0.9.1 p
    2019  - echo ".uri = $TRAC_TEST_DB_URI" >Makefile.cfg
     21  apt:
     22    packages:
     23      - python-subversion
    2225  - make Trac.egg-info compile unit-test functional-test

I've tested this on my GitHub branch. Initial results show a speedup in build execution time; 1 hr 9 min vs 1 hr 44 min for prior changeset.

comment:2 by Jun Omae, 4 years ago

Looks good to me. Should we apply that changes to 0.12-stable as well?

comment:3 by Ryan J Ollos, 4 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Thanks for the review, committed to 0.12-stable in [14309], merged to 1.0-stable in [14310], merged to trunk in [14311].

comment:4 by Ryan J Ollos, 4 years ago

Keywords: travis-ci added

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.