forked from Oslandia/py3dtiles
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
38 lines (34 loc) · 901 Bytes
/
.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
os: linux
dist: bionic
language: python
python:
- "3.6"
before_install:
- sudo add-apt-repository universe
- sudo apt-get install -y liblas-c3 libopenblas-base flake8
addons:
apt:
update: true
jobs:
include:
- stage: tests
if: branch = Tiler
install:
- pip install -e .
- pip install -e .[dev]
script:
- pytest
- flake8 setup.py py3dtiles/
- py3dtiles info tests/pointCloudRGB.pnts
- stage: "Markdown link checks"
language: node_js
node_js: 12
script:
- npm install --global remark-cli remark-validate-links
- remark -u validate-links .
- |
export FAILURE_THRESHOLD=1
export warnings=`remark -u validate-links . 2>&1 | grep warning | grep "Link to unknown" | wc -l`
if [ $warnings -gt $FAILURE_THRESHOLD ]; then
exit 1;
fi