diff options
author | Erik Rose <erik@mozilla.com> | 2016-01-30 02:02:58 +0300 |
---|---|---|
committer | Erik Rose <erik@mozilla.com> | 2016-02-01 21:52:56 +0300 |
commit | efd4f357829e538dc0928ba8efe3084ae4d859dd (patch) | |
tree | 2f3d05168eaf605c886f3980570bb1ea596cb925 /.travis.yml | |
parent | e581335073077e5ddd82044f180c97cc2321331c (diff) |
Run le-auto tests on Travis.
* We choose a different Travis infra for one of the jobs, as in https://github.com/numpy/numpy/blob/master/.travis.yml#L49.
* We keep the language as "python" so the installation of packages (like tox, which we need) doesn't fail.
* Override the before_install to disable the dpkg stuff the other jobs need.
* adduser is redundant with `--groups sudo` above, so we delete it.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 67da27d00..719e95012 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,7 @@ env: global: - GOPATH=/tmp/go - PATH=$GOPATH/bin:$PATH + matrix: include: - python: "2.6" @@ -47,6 +48,10 @@ matrix: env: TOXENV=py34 - python: "3.5" env: TOXENV=py35 + - sudo: required + env: TOXENV=le_auto + services: docker + before_install: # Only build pushes to the master branch, PRs, and branches beginning with # `test-`. This reduces the number of simultaneous Travis runs, which speeds |