forked from PolyJIT/benchbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
dist: xenial
os:
- linux
# - osx
#
language: python
python:
- "3.7"
- "3.8"
addons:
apt:
packages:
- time
- unionfs-fuse
- libfuse-dev
- clang
install:
- mkdir -p ~/bin/ && export PATH="~/bin/:$PATH"
- curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b ~/bin
- pip install .
- pip install -r requirements.txt
- pip install codecov
- pip install pytest-cov
- pip install mypy
env:
- BB_UNIONFS_ENABLE=false BB_PLUGINS_EXPERIMENTS='["benchbuild.experiments.raw", "benchbuild.experiments.empty"]'
script:
- reviewdog -conf=.reviewdog.yml -reporter=github-pr-check
- coverage run -p `which benchbuild` bootstrap -s
- pytest --cov-config=./.coveragerc --cov=./ benchbuild tests
- coverage run -p `which benchbuild` config view
- coverage run -p `which benchbuild` project view
- coverage run -p `which benchbuild` experiment view
- coverage run -p `which benchbuild` -vvvvv run --full test
- coverage combine -a
- coverage report
after_success:
- codecov
branches:
only:
- master