[PATCH 1/1] Add travis CI configuration file

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
> ---
> Given that llvm is preparing to move repos to git/github, this looked useful

LGTM. Was there some recent announcement about this?

Nothing new beyond [0]. I haven't been really following the proposal,
so I don't know if it has been killed.

It might still be useful to enable travis on libclc github mirror, but
I don't know who's in charge.

[0]https://llvm.org/docs/Proposals/GitHubMove.html

-Tom

>
> .travis.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 44 insertions(+)
> create mode 100644 .travis.yml
>
> diff --git a/.travis.yml b/.travis.yml
> new file mode 100644
> index 0000000..3625fea
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,44 @@
> +language: cpp
> +
> +sudo: false
> +dist: trusty
> +
> +cache:
> + apt: true
> +
> +
> +matrix:
> + include:
> + - env:
> + - LABEL="make gcc LLVM-4.0"
> + - LLVM_VERSION=4.0
> + - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
> + addons:
> + apt:
> + sources:
> + - llvm-toolchain-trusty-4.0
> + packages:
> + - libedit-dev
> + - g++-4.8
> + # From sources above
> + - llvm-4.0-dev
> + - clang-4.0
> + - env:
> + # NOTE: Analogous to SWR above, building Clover is quite slow.

^^ I'll drop this line before pushing.

Jan

Acked-by: Aaron Watry <awatry@gmail.com>