Skip to content

Commit

Permalink
Disable code generation tests on travis (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCarlberg authored Jan 13, 2019
1 parent c826afc commit a0df5cf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
24 changes: 12 additions & 12 deletions .travis-scripts/osx-opencv-install.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash

brew update
brew install gcc
brew upgrade gcc
brew install cmake
brew upgrade cmake
brew install ant
brew upgrade ant
brew install python3
brew linkapps python3
pip3 install numpy
pip3 install opencv-python
mkdir -p $HOME/opencv/jni
#brew update
#brew install gcc
#brew upgrade gcc
#brew install cmake
#brew upgrade cmake
#brew install ant
#brew upgrade ant
#brew install python3
#brew linkapps python3
#pip3 install numpy
#pip3 install opencv-python
#mkdir -p $HOME/opencv/jni
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ addons:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
# - gcc-4.8
# - g++-4.8
- oracle-java8-installer
- python3
# - python3
before_install:
- .travis-scripts/install.sh
- |
Expand All @@ -36,11 +36,7 @@ install:
script:
# Only run code generation tests on OSX -- linux requires sudo to install OpenCV dependencies, and that environment
# will not be able to run MainWindowTest.testDragOperationFromPaletteToPipeline
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]];
then ./gradlew check jacocoTestReport jacocoRootReport --stacktrace -Pheadless=true -PlogTests --scan -Pgeneration -PjniLocation=$HOME/opencv/jni;
else ./gradlew check jacocoTestReport jacocoRootReport --stacktrace -Pheadless=true -PlogTests --scan;
fi
- ./gradlew check jacocoTestReport jacocoRootReport --stacktrace -Pheadless=true -PlogTests --scan;

after_success:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then codecov ; fi
Expand Down

0 comments on commit a0df5cf

Please sign in to comment.