-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
41 lines (34 loc) · 906 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
38
39
40
41
language:
- python
- cpp
python:
- '3.6'
before_install:
- |
mkdir -p ~/tmp
wget -P ~/tmp https://github.com/Kitware/CMake/releases/download/v3.15.0-rc3/cmake-3.15.0-rc3.tar.gz
tar -xzf ~/tmp/cmake-3.15.0-rc3.tar.gz -C ~/tmp
cmake ~/tmp/cmake-3.15.0-rc3 -B~/tmp/cmake-3.15.0-rc3
make -C ~/tmp/cmake-3.15.0-rc3
sudo make install -C ~/tmp/cmake-3.15.0-rc3
install:
- pip install -r dev-requirements.txt
- pip install --upgrade pip
script:
- pytest tests/ -v
- pycodestyle gaia_image_processing/*
after_script:
- py.test --cov-report term --cov=. --ignore=tests/* --cov-report=html
- coverage xml
- python-codacy-coverage -r coverage.xml
notification:
email: false
before_deploy:
- echo 'Beggining deploy...'
- python3 setup.py build
- python3 setup.py sdist bdist_wheel
deploy:
- provider: script
script: bash deploy.sh deploy
on:
branch: master