Skip to content

Commit

Permalink
Switch travis to 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
johnramsden committed Jan 2, 2019
1 parent 227ed97 commit 021a899
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
sudo: required
dist: trusty
dist: xenial

language: python
python:
- "3.6"
- "3.7"

env:
global:
Expand All @@ -14,7 +15,7 @@ cache:
custom_install: true

before_install:
- sudo scripts/travis/ubuntu-14_04/setup_zfs_requirements.sh
- sudo scripts/travis/ubuntu/setup_zfs_requirements.sh
- sudo scripts/travis/common/create_test_root.sh

branches:
Expand Down
11 changes: 0 additions & 11 deletions scripts/travis/ubuntu-14_04/setup_zfs_requirements.sh

This file was deleted.

9 changes: 9 additions & 0 deletions scripts/travis/ubuntu/setup_zfs_requirements.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

# Travis setup script (16.04

# Install zfs requirements
add-apt-repository -y ppa:jonathonf/zfs && \
apt-get -q update && \
apt-get install -y linux-headers-$(uname -r) && \
apt-get install -y spl-dkms zfs-dkms zfsutils-linux || exit 1

0 comments on commit 021a899

Please sign in to comment.