Skip to content

Commit e06d366

Browse files
committed
Create stages
1 parent 6c126ca commit e06d366

File tree

1 file changed

+20
-26
lines changed

1 file changed

+20
-26
lines changed

.travis.yml

+20-26
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,31 @@
11
language: python
2-
32
cache: pip
43

5-
notifications:
6-
email: false
4+
os: linux
5+
dist: focal
6+
python: 3.8
77

88
jobs:
99
include:
10-
- stage: test
11-
12-
os: linux
13-
dist: focal
14-
python: 3.8
15-
16-
before_install:
10+
- stage: setup
11+
script:
1712
- sudo bash bin/deploy/install_system_dependencies.sh
18-
install:
1913
- bash bin/deploy/install_python_dependencies.sh
14+
- stage: test
2015
script:
2116
- sudo bash bin/tests/run_tests_on_travis.sh
17+
- stage: deploy
18+
before_deploy:
19+
- sudo bash setup.sh
20+
- sudo bash run_tests.sh
21+
- bash bin/deploy/new_release_auto_tagging.sh
22+
deploy:
23+
provider: releases
24+
skip_cleanup: true
25+
api_key: $GITHUB_TOKEN
26+
file: jarvis_package.tar
27+
on:
28+
branch: master
2229

23-
24-
#before_deploy:
25-
# - echo "Deployment preperation"
26-
# - sudo bash setup.sh
27-
# - sudo bash run_tests.sh
28-
# - bash bin/deploy/new_release_auto_tagging.sh
29-
#
30-
#deploy:
31-
# provider: releases
32-
# skip_cleanup: true
33-
# api_key: $GITHUB_TOKEN
34-
# file: jarvis_package.tar
35-
# on:
36-
# branch: master
37-
#
30+
notifications:
31+
email: false

0 commit comments

Comments
 (0)