forked from Azure/azure-iot-cli-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 901 Bytes
/
.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
dist: trusty
sudo: off
language: python
before_install:
- chmod +x ./scripts/ci/test_source.sh
- chmod +x ./scripts/ci/test_static.sh
- chmod +x ./scripts/ci/test_static_py2.sh
- chmod +x ./scripts/ci/test_clicore_linter.sh
install:
- pip install -r ./dev_requirements -q
jobs:
include:
- stage: precondition
env: PURPOSE='SourceStaticTests'
script: ./scripts/ci/test_static_py2.sh
python: 2.7
- stage: precondition
env: PURPOSE='SourceStaticTests'
script: ./scripts/ci/test_static.sh
python: 3.6
- stage: verify
env: PURPOSE='SourceUnitTests'
script: ./scripts/ci/test_source.sh
python: 2.7
- stage: verify
env: PURPOSE='SourceUnitTests'
script: ./scripts/ci/test_source.sh
python: 3.6
- stage: verify
env: PURPOSE='CLICoreValidationTests'
script: ./scripts/ci/test_clicore_linter.sh
python: 3.6