forked from SuperDARN/pydarn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (51 loc) · 1.35 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
50
51
52
53
# Copyright (C) SuperDARN Canada, University of Saskatchewan
# Author(s): Marina Schmidt
#
# Travis-CI script for testing builds, unit tests, linter and converage tests
language: python
python:
- 3.7
- 3.6
matrix:
include:
- os: linux
dist: trusty
name: ubuntu 14.04
python: 3.6
- os: linux
dist: xenial
name: ubuntu 16.04
- name: ubuntu 18.04
os: linux
dist: bionic
- name: PEP8
os: linux
python: 3.7
before_install:
- pip3 install -U pip
- pip3 install flake8 mypy
- git submodule update --init --recursive
- git submodule update --recursive --remote
script:
- flake8 --exit-zero --ignore=E501,F401
- name: MacOS
os: osx
language: minimal
- name: Windows
os: windows
language: shell
before_install:
- choco install python3 --version 3.7.0
- python -m pip install --upgrade pip
- pip3 install --upgrade certifi
env: export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
before_install:
- pip3 install -U pip
- pip3 install -U numpy
- git submodule update --init --recursive
- git submodule update --recursive --remote
install:
- pip3 install .
- pip3 install pytest
- pip3 install pydarnio
script: pytest --ignore=test/data