2018-01-21 21:45:46 +03:00
|
|
|
sudo: false
|
2018-12-17 15:56:37 +03:00
|
|
|
dist: xenial
|
|
|
|
language: c
|
2018-01-21 21:45:46 +03:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GCC=gcc-5
|
|
|
|
- GXX=g++-5
|
2019-04-09 13:32:41 +03:00
|
|
|
- LLVM_VER=7.1.0
|
2018-01-21 21:45:46 +03:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.stack/
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-5
|
|
|
|
- g++-5
|
|
|
|
- libgmp-dev
|
2018-11-09 00:29:31 +03:00
|
|
|
- llvm-7-dev
|
2018-01-21 21:45:46 +03:00
|
|
|
sources:
|
2018-12-17 15:56:37 +03:00
|
|
|
- llvm-toolchain-xenial-7
|
2018-01-21 21:45:46 +03:00
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- mkdir -p ~/.local/bin
|
|
|
|
- export PATH=~/.local/bin:$PATH
|
|
|
|
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
|
|
|
- export CC=/usr/bin/$GCC
|
|
|
|
- export CXX=/usr/bin/$GXX
|
|
|
|
|
|
|
|
install:
|
|
|
|
- stack update
|
2018-03-31 18:06:35 +03:00
|
|
|
- travis_wait 120 stack --no-terminal --install-ghc test --only-dependencies
|
2018-01-21 21:45:46 +03:00
|
|
|
|
|
|
|
script:
|
2018-12-23 03:35:19 +03:00
|
|
|
- mkdir .output
|
2018-02-25 17:06:17 +03:00
|
|
|
- stack --no-terminal test --coverage
|
2018-09-19 11:34:06 +03:00
|
|
|
- stack exec grin -- grin/grin/sum_simple.grin
|
2018-06-15 03:47:16 +03:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- travis_retry curl -L https://github.com/rubik/stack-hpc-coveralls/releases/download/v0.0.4.0/shc-linux-x64-8.0.1.tar.bz2 | tar -xj
|
|
|
|
- ./shc grin grin-test
|