Skip to content

Commit

Permalink
Travis configuration for Python 3.5 and 3.7 (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvalev authored and k8s-ci-robot committed Jun 23, 2019
1 parent ce8df16 commit 4f8a7ea
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,30 @@ matrix:
- cd $TRAVIS_BUILD_DIR/component_sdk/python
- ./run_test.sh
- language: python
python: "3.6"
env: TOXENV=py36
install: pip3 install jsonschema==3.0.1
script:
python: "3.5"
env: TOXENV=py35
script: &1
# Additional dependencies
- pip3 install jsonschema==3.0.1
# DSL tests
- cd $TRAVIS_BUILD_DIR/sdk/python
- python3 setup.py install
- python tests/dsl/main.py
- python tests/compiler/main.py
- $TRAVIS_BUILD_DIR/sdk/python/tests/run_tests.sh

#Test loading all component.yaml definitions
# Test loading all component.yaml definitions
- $TRAVIS_BUILD_DIR/components/test_load_all_components.sh

# Component SDK tests
- cd $TRAVIS_BUILD_DIR/component_sdk/python
- ./run_test.sh
- language: python
python: "3.6"
env: TOXENV=py36
script: *1
- language: python
python: "3.7"
env: TOXENV=py37
dist: xenial # required for Python >= 3.7
script: *1

0 comments on commit 4f8a7ea

Please sign in to comment.