From a42587e2521c1d499fe7a9c0ae8874ddb82bf742 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 26 Apr 2018 20:33:58 +0300 Subject: [PATCH] Add nvcc-9.1 to Travis --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index d42c367..2c27571 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,6 +84,15 @@ matrix: sources: - ubuntu-toolchain-r-test + - os: linux + compiler: g++ + env: NVCC=1 + before_script: + - wget https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_387.26_linux + - sh cuda_9.1.85_387.26_linux --silent --toolkit --override --toolkitpath=$HOME/lib/cuda-9.1.85 + script: + - $HOME/lib/cuda-9.1.85/bin/nvcc -x cu -I . -c -std=c++11 libs/mp11/test/mp11.cpp + - os: linux compiler: /usr/bin/clang++ env: TOOLSET=clang COMPILER=/usr/bin/clang++ CXXSTD=11