Skip to content

Commit

Permalink
added two .yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Wensley committed Feb 7, 2018
1 parent 3eebb83 commit 2e4f24c
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .codecov.yml
@@ -0,0 +1,20 @@
coverage:
precision: 2
round: down
range: "70...100"

status:
project: no
patch: yes
changes: no

comment:
layout: "header, diff, changes, tree"
behavior: default

ignore:
- "PackageInfo.g"
- "init.g"
- "read.g"
- "tst/*" # ignore test harness code
- "tst/**/*" # ignore test harness code
35 changes: 35 additions & 0 deletions .travis.yml
@@ -0,0 +1,35 @@
language: c
env:
global:
- GAPROOT=gaproot
- COVDIR=coverage

addons:
apt_packages:
- libgmp-dev
- libreadline-dev
- libgmp-dev:i386
- libreadline-dev:i386
- gcc-multilib
- g++-multilib

matrix:
include:
- env: CFLAGS="-O2" CC=clang CXX=clang++
compiler: clang
- env: CFLAGS="-O2"
compiler: gcc
- env: ABI=32

branches:
only:
- master

before_script:
- export GAPROOT="$HOME/gap"
- scripts/build_gap.sh
script:
- scripts/build_pkg.sh && scripts/run_tests.sh
after_script:
- bash scripts/gather-coverage.sh
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 2e4f24c

Please sign in to comment.