forked from kylekrol/lin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.2 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
matrix:
include:
- language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- bazel
sudo: false
compiler: clang
before_install:
- wget https://github.com/bazelbuild/bazel/releases/download/3.4.1/bazel_3.4.1-linux-x86_64.deb.sha256
- wget https://github.com/bazelbuild/bazel/releases/download/3.4.1/bazel_3.4.1-linux-x86_64.deb
- sha256sum -c bazel_3.4.1-linux-x86_64.deb.sha256
- sudo dpkg -i bazel_3.4.1-linux-x86_64.deb
script:
- bazel test //test:all --verbose_failures
- language: python
python:
- "3.6"
- "3.7"
- "3.8"
sudo: false
install:
- pip install -r requirements.txt
- pip install -vvv .
script:
- pytest -v test_lin.py
- sudo: false
branches:
only:
- master
addons:
apt:
packages:
- doxygen
script:
- cd docs && doxygen && cd ..
deploy:
provider: pages
skip_cleanup: true
local_dir: docs/html
github_token: $GH_REPO_TOKEN
on:
branch: master