sudo: false

os:
  - linux

compiler:
  - gcc

language:
  - c

services:
  - docker

before_install:
  - docker pull ebassi/grapheneci

before_script:
  - echo FROM ebassi/grapheneci > Dockerfile
  - echo ADD . /root >> Dockerfile
  - docker build -t withgit .

script:
  - docker run withgit /bin/sh -c "cd /root && TRAVIS=1 CC=$CC ./graphene-run-tests.sh"
  - docker run withgit /bin/sh -c "cd /root && TRAVIS=1 CC=$CC ./graphene-run-tests.sh -Denable-sse2=false"
  - docker run withgit /bin/sh -c "cd /root && TRAVIS=1 CC=$CC ./graphene-run-tests.sh -Denable-sse2=false -Denable-gcc-vector=false"

sudo: false

os:
  - linux

compiler:
  - gcc
  - clang

language:
  - c

services:
  - docker

before_install:
  - docker pull ebassi/grapheneci

before_script:
  - echo FROM ebassi/grapheneci > Dockerfile
  - echo ADD . /root >> Dockerfile
  - docker build -t withgit .

script:
  - docker run withgit /bin/sh -c "cd /root && TRAVIS=1 CC=$CC ./graphene-run-tests.sh"
  - docker run withgit /bin/sh -c "cd /root && TRAVIS=1 CC=$CC ./graphene-run-tests.sh -Denable-sse2=false"
  - docker run withgit /bin/sh -c "cd /root && TRAVIS=1 CC=$CC ./graphene-run-tests.sh -Denable-sse2=false -Denable-gcc-vector=false"

Revert "Temporarily disable Clang from the Travis matrix"
Revert "Temporarily disable Clang from the Travis matrix"

This reverts commit 57d652d9879baf155b8cc4ade291b8114cd09d23.

The ebassi/grapheneci:latest Docker image has Clang 3.8 installed, so we
can re-enable it on Travis.
