Skip to content

Commit

Permalink
chore: update distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Feb 10, 2019
1 parent f1527b1 commit 642d23e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ env:
- role: weareinteractive.pm2
matrix:
- distribution: Ubuntu
distribution_version: "16.04"
distribution_version: "18.04"
init: /lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
deps: curl -sL https://deb.nodesource.com/setup_11.x | bash - && apt-get update && apt-get install -y nodejs npm
- distribution: Ubuntu
distribution_version: "14.04"
init: /sbin/init
run_opts: ""
deps: curl -sL https://deb.nodesource.com/setup_11.x | bash - && apt-get update && apt-get install -y nodejs npm
distribution_version: "16.04"
init: /lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
- distribution: EL
distribution_version: "7"
init: /usr/lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
- distribution: Debian
distribution_version: stretch
init: /lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"

before_install:
- sudo apt-get update
Expand All @@ -31,9 +37,6 @@ script:
# Print ansible version
- docker exec -t "$(cat ${container_id})" env TERM=xterm ansible --version

# Install dependencies
- docker exec --tty "$(cat ${container_id})" env TERM=xterm bash -c '${deps}'

# Ansible syntax check.
- docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /etc/ansible/roles/${role}/tests/main.yml --syntax-check

Expand Down

0 comments on commit 642d23e

Please sign in to comment.