Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (29 sloc) 1.6 KB
# see http://www.appveyor.com/docs/appveyor-yml
image: Ubuntu1804
version: 1.0.{build}
clone_depth: 1
init: []
install:
#- sudo echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
#- sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/mono-official-stable.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
#- sudo apt-get -y install mono-devel mono-runtime
- sudo apt-get -y install nant nunit-console libsodium23 mono-xsp4 wget xfonts-75dpi
- wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb && sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
- wget https://github.com/openpetra/demo-databases/raw/UsedForNUnitTests/demoWith1ledger.yml.gz
# to avoid errors like: error CS0433: The imported type `System.CodeDom.Compiler.CompilerError' is defined multiple times
- sudo rm -f /usr/lib/mono/4.5-api/System.dll
# prepare the config file
- echo '<?xml version="1.0"?>' > OpenPetra.build.config
- echo '<project name="OpenPetra-userconfig">' >> OpenPetra.build.config
- echo ' <property name="DBMS.Type" value="sqlite"/>' >> OpenPetra.build.config
- echo ' <property name="DBMS.Password" value=""/>' >> OpenPetra.build.config
- echo ' <property name="Server.Port" value="9000"/>' >> OpenPetra.build.config
- echo ' <property name="NETframework-version" value="4.5"/>' >> OpenPetra.build.config
- echo '</project>' >> OpenPetra.build.config
platform: x86
build_script:
- nant generateSolution
test_script:
- nant recreateDatabase resetDatabase test-without-display
before_deploy:
- nant buildRPM
You can’t perform that action at this time.