forked from Blubbaa/keras-complex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (39 loc) · 929 Bytes
/
.travis.yml
File metadata and controls
39 lines (39 loc) · 929 Bytes
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
language: python
cache:
pip: true
jobs:
include:
- name: "Linux Python 3.6"
python: '3.6'
- name: "Linux Python 3.7"
python: '3.7'
- name: "Python 3.7.4 on macOS"
os: osx
osx_image: xcode11
language: shell
before_install:
- cd /usr/local/bin
- mv python python.old
- ln -s python3 python
- cd -
- name: "Python 3.7.4 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.7.4
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
install:
- python --version
- python -m pip install --upgrade pip
- python -m pip install -r requirements-nogpu.txt
- python -m pip install --upgrade pytest
script: python -m pytest tests/unit_tests.py
deploy:
provider: pypi
user: "__token__"
password: $pypitoken
edge: true
on:
branch: master
tags: true
python: '3.7'