-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (49 loc) · 1.14 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
os: linux
language: python
python:
- "3.7"
branches:
only:
- master
- develop
stages:
- name: madtornado
- name: test
jobs:
include:
- stage: test
name: "test-1"
env:
- GITHUB=https://github.com/SystemLight/madtornado
script:
- echo i am test-1
- stage: test
name: "test-2"
env:
- GITHUB=https://github.com/SystemLight/madtornado
script:
- echo i am test-2
- stage: madtornado
name: "madtornado-1"
env:
- GITHUB=https://github.com/SystemLight/madtornado
before_install:
- echo before_install
install:
- pip install -r requirements.txt
- pip install setuptools
- pip install wheel
- pip install twine
before_script:
- echo before_script
- find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
script:
- echo script
- python ./sea.py --sync_version
- python ./sea.py --init_release
after_success:
- echo $TRAVIS_TEST_RESULT
after_failure:
- echo $TRAVIS_TEST_RESULT
after_script:
- echo after_script