changeset 304:0ea0f36cc576

Add CI build files
author Chris Cannam
date Mon, 10 Jul 2017 20:51:07 +0100
parents 523f8f1789b4
children 72b57b57a736
files .appveyor.yml .hgignore .travis.yml
diffstat 3 files changed, 58 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.appveyor.yml	Mon Jul 10 20:51:07 2017 +0100
@@ -0,0 +1,20 @@
+
+configuration:
+  - Release
+
+install:
+  - cinst --allow-empty-checksums smlnj
+  - ps: '"[hostfingerprints]" | Out-File -Encoding "ASCII" -Append $env:USERPROFILE\mercurial.ini'
+  - ps: '"code.soundsoftware.ac.uk = 66:ef:e2:0e:e3:55:93:9a:33:aa:2a:e9:fe:be:21:c2:a2:8d:4f:f1" | Out-File -Encoding "ASCII" -Append $env:USERPROFILE\mercurial.ini'
+  - ps: '"[hostsecurity]" | Out-File -Encoding "ASCII" -Append $env:USERPROFILE\mercurial.ini'
+  - ps: '"code.soundsoftware.ac.uk = code.soundsoftware.ac.uk:fingerprints=sha256:64:75:f6:47:15:de:b4:51:ea:96:e2:f4:8a:f5:53:a5:11:c8:dd:82:73:5d:bd:54:18:cb:c8:9d:10:37:28:85" | Out-File -Encoding "ASCII" -Append $env:USERPROFILE\mercurial.ini'
+
+before_build:
+  - set QTDIR=C:\Qt\5.8\msvc2015_64
+  - set PATH=%PATH%;%QTDIR%\bin;C:\Program Files (x86)\SMLNJ\bin
+  - vext install
+  - qmake -r -tp vc sonic-annotator.pro
+
+build:
+  project: sonic-annotator.sln
+  
--- a/.hgignore	Mon Jul 10 18:57:08 2017 +0100
+++ b/.hgignore	Mon Jul 10 20:51:07 2017 +0100
@@ -13,4 +13,13 @@
 *~
 *.orig
 *.rej
+.git
 cov-int
+vamp-plugin-sdk
+svcore
+piper-cpp
+dataquay
+bqvec
+bqfft
+bqresample
+sv-dependency-builds
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.travis.yml	Mon Jul 10 20:51:07 2017 +0100
@@ -0,0 +1,29 @@
+dist:
+  - trusty
+
+language:
+  - cpp
+
+sudo:
+  - false
+
+os:
+  - linux
+  - osx
+
+addons:
+  apt:
+    packages:
+     - libbz2-dev libfftw3-dev libfishsound1-dev libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev libsamplerate-dev libsndfile-dev libsord-dev libxml2-utils qt5-default libqt5svg5-dev raptor-utils mlton
+
+before_install:
+  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
+  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
+  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
+
+before_script:
+  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r sonic-annotator.pro ; fi
+
+script:
+  - make -j3
+