Skip to content

Commit

Permalink
Revert "Patched Ark-kun's PR."
Browse files Browse the repository at this point in the history
This reverts commit 246a178
  • Loading branch information
numerology committed Aug 15, 2019
1 parent 246a178 commit d043d38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,13 @@ matrix:
env: TOXENV=py35
script: &1
# Additional dependencies
- pip3 install coverage coveralls jsonschema==3.0.1
- pip3 install jsonschema==3.0.1
# DSL tests
- cd $TRAVIS_BUILD_DIR/sdk/python
- python3 setup.py install
- coverage run --include=*/kfp/* --omit */site-packages/* --append tests/dsl/main.py
- coverage run --include=*/kfp/* --omit */site-packages/* --append tests/compiler/main.py
- coverage run --include=*/kfp/* --omit */site-packages/* --append -m unittest discover --verbose --start-dir tests --top-level-directory=.
- coveralls
- python3 tests/dsl/main.py
- python3 tests/compiler/main.py
- $TRAVIS_BUILD_DIR/sdk/python/tests/run_tests.sh

# Visualization test
- cd $TRAVIS_BUILD_DIR/backend/src/apiserver/visualization
Expand Down
1 change: 1 addition & 0 deletions sdk/python/tests/components/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import unittest
from pathlib import Path

sys.path.insert(0, __file__ + '/../../../')

import kfp
import kfp.components as comp
Expand Down
1 change: 1 addition & 0 deletions sdk/python/tests/components/test_graph_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import unittest
from pathlib import Path

sys.path.insert(0, __file__ + '/../../../')

import kfp.components as comp
from kfp.components._structures import ComponentReference, ComponentSpec, ContainerSpec, GraphInputArgument, GraphSpec, InputSpec, InputValuePlaceholder, GraphImplementation, OutputPathPlaceholder, OutputSpec, TaskOutputArgument, TaskSpec
Expand Down

0 comments on commit d043d38

Please sign in to comment.