forked from Drakkar-Software/OctoBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (55 loc) · 3 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
54
55
56
57
58
59
60
61
notifications:
email: false
sudo: enabled
os: linux
language: python
cache: pip
python: 3.7-dev
install:
- python3 -m pip install -r pre_requirements.txt
- python3 -m pip install -r requirements.txt -r dev_requirements.txt
- cp ./config/default_config.json ./config.json
- python3 start.py -p install all
matrix:
include:
- name: "OS X - Python 3"
os: osx
osx_image: xcode8.3
language: generic
before_cache:
- brew cleanup
cache:
directories:
- $HOME/Library/Caches/Homebrew
before_install:
- brew update || travis_terminate 1;
- brew upgrade python || brew install python || travis_terminate 1;
- python3 -m venv venv || travis_terminate 1;
- source venv/bin/activate;
script:
- pytest -n 3 --cov=. --cov-config=.coveragerc --durations=0 -rw tests/unit_tests tests/functional_tests
- name: "Linux - Python 3 nightly"
os: linux
python: nightly
language: python
before_install:
- sudo bash ./docs/install/linux_dependencies.sh
script:
- pytest -n 5 --cov=. --cov-config=.coveragerc --durations=0 -rw tests/unit_tests tests/functional_tests tests/endurance_tests
- python3 setup.py sdist bdist_wheel && python3 -m twine check dist/*
after_success:
- if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then bash coveralls; fi
deploy:
- provider: pypi
user:
secure: drvdAty7FzyK3SqUKKsGQJI9PLogE3UqCHxIVfbet8VYypBVoWCG0HHQHJl08q368zzylO45tUjBQP2OdfurpXnGIEcVhVvbuD4v6SrUX1lH6e/g/JBgKDPz6ZtQXpGrno1EKfop0QZVQojm2xXR9oMNxvvVJlGbWaD5BkztxQ9x4Sy0TQsoFwKawx7YuHHcl33+47YBht1fA+YpkGGKxmsqK74yCqf2GzWYNlAjJAhcos+2eHErMI8CkqnrFIjhpV/LB842AAC6bz41PFW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iBFsyE4phmQlOHunFtO+O6gzimQ=
skip_existing: true
skip_cleanup: true
distributions: "sdist bdist_wheel"
on:
repo: Drakkar-Software/OctoBot
branch: master
tags: true
condition: $TRAVIS_OS_NAME = 'linux'