Skip to content

Commit a0df5cf

Browse files
authored
Disable code generation tests on travis (#901)
1 parent c826afc commit a0df5cf

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

.travis-scripts/osx-opencv-install.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

3-
brew update
4-
brew install gcc
5-
brew upgrade gcc
6-
brew install cmake
7-
brew upgrade cmake
8-
brew install ant
9-
brew upgrade ant
10-
brew install python3
11-
brew linkapps python3
12-
pip3 install numpy
13-
pip3 install opencv-python
14-
mkdir -p $HOME/opencv/jni
3+
#brew update
4+
#brew install gcc
5+
#brew upgrade gcc
6+
#brew install cmake
7+
#brew upgrade cmake
8+
#brew install ant
9+
#brew upgrade ant
10+
#brew install python3
11+
#brew linkapps python3
12+
#pip3 install numpy
13+
#pip3 install opencv-python
14+
#mkdir -p $HOME/opencv/jni

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ addons:
1818
sources:
1919
- ubuntu-toolchain-r-test
2020
packages:
21-
- gcc-4.8
22-
- g++-4.8
21+
# - gcc-4.8
22+
# - g++-4.8
2323
- oracle-java8-installer
24-
- python3
24+
# - python3
2525
before_install:
2626
- .travis-scripts/install.sh
2727
- |
@@ -36,11 +36,7 @@ install:
3636
script:
3737
# Only run code generation tests on OSX -- linux requires sudo to install OpenCV dependencies, and that environment
3838
# will not be able to run MainWindowTest.testDragOperationFromPaletteToPipeline
39-
- |
40-
if [[ "$TRAVIS_OS_NAME" == "osx" ]];
41-
then ./gradlew check jacocoTestReport jacocoRootReport --stacktrace -Pheadless=true -PlogTests --scan -Pgeneration -PjniLocation=$HOME/opencv/jni;
42-
else ./gradlew check jacocoTestReport jacocoRootReport --stacktrace -Pheadless=true -PlogTests --scan;
43-
fi
39+
- ./gradlew check jacocoTestReport jacocoRootReport --stacktrace -Pheadless=true -PlogTests --scan;
4440

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

0 commit comments

Comments
 (0)