commit 892f1d3784ad8f347794780079cc0eaef0b64f60
parent 7cc2afb5bc9e66326dc8d3b59445a1ec7ca8062d
Author: jatinchowdhury18 <[email protected]>
Date: Thu, 7 Feb 2019 18:32:11 -0800
Start Travis (#1)
* Start Travis
* Update travis
* Update Travis
* Don't build VST2 (for now)
Diffstat:
3 files changed, 86 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -0,0 +1,84 @@
+notifications:
+ email: false
+
+language: cpp
+sudo: false
+
+# if pull request: always build
+# if push: only build for master branch
+if: (type != push) OR (type = push AND branch = master)
+
+matrix:
+ include:
+ #- name: "unit-tests"
+ # os: osx
+ # env:
+ # - BUILD_FOLDER="MacOSX"
+ # - PROJUCER_EXPORT="$TRAVIS_BUILD_DIR/JUCE/extras/Projucer/Builds/MacOSX/build/Debug/Projucer.app/Contents/MacOS/Projucer"
+ - name: "osx"
+ os: osx
+ env:
+ - BUILD_FOLDER="MacOSX"
+ - PROJUCER_EXPORT="$TRAVIS_BUILD_DIR/Plugin/JUCE/extras/Projucer/Builds/MacOSX/build/Debug/Projucer.app/Contents/MacOS/Projucer"
+ - secure: EWeaPVOC8rWVkV1Rb6kf90BMr+QGtsC9YN+c+XJ0rIftndY5CSKnBZxU9iwZEQXaRxjdlMcDl95F8IeKlY7yIpN793+SLcx4h6XpijUhqqwWgybhy4jdO23fjefAThExDWzuAg7xfB1LyOC/BO9HRS8qFbCcvVdwCzETtItSW05nxHWICQl6c25Otdduh33EPORYBRUxB3MdPMvcpaYwAslGvSJ2AP7fQsnx3sMwxJLj1J5tiYkdvfm2xy1kv7/C8CF1Zp4Zg9ds+9qAG64v7I8VciuZ1tjmd01TUkal3sWu/78Jyk5avp2fzFR803QeLlcK2ivislZkc+vmMg7yXfjX5zTcgHfrrXlbKame/4xGuxbd6lYqUICeijZdv53d61f1lvvIbNKwzrH74vji5QMJkhjSzWyJt6IL6AriKCETCguKgXNOChbmqqSaTvA/OSwHu9JHH6byk229uQWjIAmj0egCr5WC+fk6LmSrbSG+iPkorSYlilxuGrRZWptVjTkqfbixuloNuwWLw69iHTM//T99E16I5ASN/T2KpQPJyrcPGz+R2ooL5OAb2LAZON58wIKLwaw0Wf6WCLYMmXxNm2vFbS1LsuHEbIMKDIlsMhiZYeCaYfvr942mJond1C2k2WYHwhS14R1sgnJFZGqPJLGzzl7rpxurf0MuOI4=
+ - name: "win"
+ os: windows
+ env:
+ - MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
+ - BUILD_FOLDER="VisualStudio2017"
+ - PROJUCER_EXPORT="$TRAVIS_BUILD_DIR/Plugin/JUCE/extras/Projucer/Builds/VisualStudio2017/x64/Debug/App/Projucer.exe"
+
+before_install:
+ # mac installs
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then gem install xcpretty; fi
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then gem install xcpretty-travis-formatter; fi
+ # windows setup msbuild path
+ - if [[ $TRAVIS_OS_NAME == 'windows' ]]; then export PATH=$MSBUILD_PATH:$PATH; fi
+
+ # Build Projucer
+ - cd $TRAVIS_BUILD_DIR/Plugin/JUCE/extras/Projucer/Builds/$BUILD_FOLDER
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then xcodebuild -project Projucer.xcodeproj > /dev/null; fi
+ - if [[ $TRAVIS_OS_NAME == 'windows' ]]; then msbuild.exe -v:quiet Projucer.sln; fi
+
+script:
+ - cd $TRAVIS_BUILD_DIR/Plugin/
+ - export PROJUCER=$PROJUCER_EXPORT
+ - $PROJUCER --set-global-search-path $TRAVIS_OS_NAME defaultJuceModulePath $TRAVIS_BUILD_DIR/Plugin/JUCE/modules
+ - $PROJUCER --resave CHOWTapeModel.jucer
+ - cd $TRAVIS_BUILD_DIR/Plugin/Builds/$BUILD_FOLDER/
+
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then xcodebuild -project CHOWTapeModel.xcodeproj/ clean; fi
+ - if [[ $TRAVIS_JOB_NAME == 'osx' ]]; then xcodebuild -project CHOWTapeModel.xcodeproj/ -configuration Release | xcpretty -s -f `xcpretty-travis-formatter`; fi
+ - if [[ $TRAVIS_JOB_NAME == 'win' ]]; then msbuild.exe -v:normal CHOWTapeModel.sln; fi
+
+ #- |
+ # if [[ $TRAVIS_JOB_NAME == 'unit-tests' ]]; then
+ # xcodebuild -project NewMixer.xcodeproj/ -configuration Debug | xcpretty -s -f `xcpretty-travis-formatter`
+ # cd build/Debug/NewMixer.app/Contents/MacOS
+ # ./NewMixer --unit-tests
+ # fi
+
+ - echo "SUCCESS"
+
+# after_success: # upload mac bins
+# - |
+# if [[ $TRAVIS_JOB_NAME == 'osx' && type != push ]]; then
+# echo "Copying Files..."
+# cd $TRAVIS_BUILD_DIR/
+# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.app $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.app
+# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.component $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.component
+# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.vst $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.vst
+# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.vst3 $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.vst3
+#
+# echo "Setting Up Git..."
+# git config --global user.email "[email protected]"
+# git config --global user.name "Travis CI"
+#
+# echo "Committing Files..."
+# git checkout -b builds
+# git add Bin/Mac/
+# git commit -m "Travis build- $TRAVIS_BUILD_NUMBER"
+#
+# echo "Pushing to branch..."
+# git push https://${GH_TOKEN}@github.com/jatinchowdhury18/AnalogTapeModel.git
+# fi
diff --git a/Plugin/CHOWTapeModel.jucer b/Plugin/CHOWTapeModel.jucer
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<JUCERPROJECT id="uS0OjK" name="CHOWTapeModel" projectType="audioplug" jucerVersion="5.4.2"
- pluginFormats="buildAU,buildStandalone,buildVST,buildVST3">
+ pluginFormats="buildAU,buildStandalone,buildVST3">
<MAINGROUP id="oKBSK1" name="CHOWTapeModel">
<GROUP id="{7659EE80-6477-48A0-C7B6-CD8900735F10}" name="Source">
<GROUP id="{D2422983-A0E9-6A14-2092-2381CB1F3E7F}" name="Processors">
diff --git a/Plugin/JuceLibraryCode/AppConfig.h b/Plugin/JuceLibraryCode/AppConfig.h
@@ -299,7 +299,7 @@
// Audio plugin settings..
#ifndef JucePlugin_Build_VST
- #define JucePlugin_Build_VST 1
+ #define JucePlugin_Build_VST 0
#endif
#ifndef JucePlugin_Build_VST3
#define JucePlugin_Build_VST3 1