Skip to content

Commit f0b6015

Browse files
committed
Merge pull request #131 from JLLeitschuh/build/appVeyorSetup
Adds appVeyor.yml file to run builds with
2 parents 3019fb5 + 87c98a9 commit f0b6015

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

appveyor.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
install:
2+
- choco install -y InnoSetup
3+
4+
build_script:
5+
- gradlew.bat assemble --stacktrace
6+
7+
after_build:
8+
- dir build
9+
10+
artifacts:
11+
- path: build\distributions\*.exe
12+
13+
deploy:
14+
- provider: GitHub
15+
artifact: /.*\.exe/ # upload all exe packages to release assets
16+
draft: true
17+
prerelease: true
18+
on:
19+
branch: master # release from master branch only
20+
appveyor_repo_tag: true # deploy on tag push only

src/test/java/edu/wpi/grip/core/sources/ImageFileSourceTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ public void testReadInTextFile() throws IOException {
5252

5353
@Test(expected = IOException.class)
5454
public void testReadInFileWithoutExtension() throws MalformedURLException, IOException {
55-
final ImageFileSource fileSource = new ImageFileSource(eventBus, new File("file://temp/fdkajdl3eaf"));
55+
final File testFile = new File("temp" + File.separator +"fdkajdl3eaf");
56+
57+
final ImageFileSource fileSource = new ImageFileSource(eventBus, testFile);
5658
OutputSocket<Mat> outputSocket = fileSource.getOutputSockets()[0];
5759
assertTrue("No matrix should have been returned.", outputSocket.getValue().empty());
5860
}

0 commit comments

Comments
 (0)