forked from simplenlg/simplenlg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (38 loc) · 1.87 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
matrix:
include:
- language: java
script: mvn test
after_script: mvn clean
jdk: oraclejdk8
- language: java
script: mvn test
after_script: mvn clean
jdk: openjdk7
# - language: csharp
# solution: srcCsharp/SimpleNLG.sln
# env:
# - RESOURCE_DIR=srcCsharp/Resources/NIHLexicon/
# before_install:
# - sudo apt-get install unzip
# - unzip $RESOURCE_DIR/lexAccess2011.sqlite.zip -d $RESOURCE_DIR
# - unzip $RESOURCE_DIR/lexAccess2013.sqlite.zip -d $RESOURCE_DIR
# - unzip $RESOURCE_DIR/lexAccess2016.sqlite.zip -d $RESOURCE_DIR
# install:
# - nuget restore srcCsharp/SimpleNLG.sln
# - nuget install NUnit.Runners -Version 2.6.7 -OutputDirectory testrunner
# before_script:
# - WGET="travis_retry wget --continue --tries=20 --waitretry=10 --retry-connrefused --no-dns-cache --timeout 300"
# # http://blog.wezeku.com/2016/10/09/using-system-data-sqlite-under-linux-and-mono/
# - $WGET https://system.data.sqlite.org/downloads/1.0.108.0/sqlite-netFx-full-source-1.0.108.0.zip
# - CURDIR=`pwd`
# - mkdir ./sqliteBuild
# # jar xvf is more robust than unzip https://askubuntu.com/questions/54904/unzip-error-end-of-central-directory-signature-not-found
# - cd ./sqliteBuild/
# - jar xvf $CURDIR/sqlite-netFx-full-source-1.0.108.0.zip
# - cd $CURDIR
# - chmod +x ./sqliteBuild/Setup/compile-interop-assembly-release.sh
# - ./sqliteBuild/Setup/compile-interop-assembly-release.sh
# - cp ./sqliteBuild/bin/2013/Release/bin/libSQLite.Interop.so srcCsharp/packages/System.Data.SQLite.Core.1.0.108.0/build/net45
# script:
# - msbuild /p:Configuration=Release srcCsharp/SimpleNLG.sln
# - mono ./testrunner/NUnit.Runners.2.6.7/tools/nunit-console.exe ./srcCsharp/bin/Release/SimpleNLGUnitTests.dll