Skip to content
This repository was archived by the owner on Mar 10, 2019. It is now read-only.

Commit 3551f73

Browse files
authored
Merge branch 'master' into 0.9-dev
2 parents 9a37717 + 05958f3 commit 3551f73

File tree

3 files changed

+42
-14
lines changed

3 files changed

+42
-14
lines changed

.travis.yml

+28-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ before_install:
3232
- unset CC
3333
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
3434

35-
# We install tidal-0.9-dev from git
36-
# and build it in a sandbox
3735
install:
3836
- cabal --version
3937
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
@@ -44,7 +42,33 @@ install:
4442
fi
4543
- travis_retry cabal update -v
4644
- sed -i 's/^jobs:/-- jobs:/' ${HOME}/.cabal/config
47-
- cabal install --only-dependencies
45+
- cabal install --only-dependencies --enable-tests --enable-benchmarks --dry -v > installplan.txt
46+
- sed -i -e '1,/^Resolving /d' installplan.txt
47+
- cat installplan.txt
48+
49+
# check whether current requested install-plan matches cached package-db snapshot
50+
- if diff -u installplan.txt $HOME/.cabsnap/installplan.txt;
51+
then
52+
echo "cabal build-cache HIT";
53+
rm -rfv .ghc;
54+
cp -a $HOME/.cabsnap/ghc $HOME/.ghc;
55+
cp -a $HOME/.cabsnap/lib $HOME/.cabsnap/share $HOME/.cabsnap/bin $HOME/.cabal/;
56+
else
57+
echo "cabal build-cache MISS";
58+
rm -rf $HOME/.cabsnap;
59+
mkdir -p $HOME/.ghc $HOME/.cabal/lib $HOME/.cabal/share $HOME/.cabal/bin;
60+
cabal install --only-dependencies --enable-tests --enable-benchmarks;
61+
fi
62+
63+
# snapshot package-db on cache miss
64+
- if [ ! -d $HOME/.cabsnap ];
65+
then
66+
echo "snapshotting package-db to build-cache";
67+
mkdir $HOME/.cabsnap;
68+
cp -a $HOME/.ghc $HOME/.cabsnap/ghc;
69+
cp -a $HOME/.cabal/lib $HOME/.cabal/share $HOME/.cabal/bin installplan.txt $HOME/.cabsnap/;
70+
fi
71+
4872
# Here starts the actual work to be performed for the package under test;
4973
# any command which exits with a non-zero exit code causes the build to fail.
5074
script:
@@ -54,6 +78,7 @@ script:
5478
- cabal test
5579
- cabal check
5680
- cabal sdist # tests that a source-distribution can be generated
81+
5782
# Check that the resulting source distribution can be built & installed.
5883
# If there are no other `.tar.gz` files in `dist`, this can be even simpler:
5984
# `cabal install --force-reinstalls dist/*-*.tar.gz`

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#tidal-midi [![Build Status](https://travis-ci.org/tidalcycles/tidal-midi.svg?branch=0.9-dev)](https://travis-ci.org/tidalcycles/tidal-midi)
2+
23
A [TidalCycles](http://tidalcycles.org) module for sending patterns over MIDI.
34

45
__PortMIDI__ variant. Should work on OS X, Linux and Windows.

tidal-midi.cabal

+13-11
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,25 @@ Description: MIDI support for Tidal. Supports Volca Keys, Bass and Beats and oth
1919

2020
library
2121
Exposed-modules: Sound.Tidal.MIDI.Context
22-
Sound.Tidal.MIDI.MiniAtmegatron
23-
Sound.Tidal.MIDI.VolcaBeats
24-
Sound.Tidal.MIDI.VolcaBass
25-
Sound.Tidal.MIDI.VolcaKeys
26-
Sound.Tidal.MIDI.VolcaFM
2722
Sound.Tidal.MIDI.Control
28-
Sound.Tidal.MIDI.Device
23+
Sound.Tidal.MIDI.Device
2924
Sound.Tidal.MIDI.Stream
25+
Sound.Tidal.MIDI.Output
26+
Sound.Tidal.MIDI.SynthParams
27+
Sound.Tidal.MIDI.CC
28+
Sound.Tidal.MIDI.GMPerc
3029
Sound.Tidal.MIDI.Synth
3130
Sound.Tidal.MIDI.Synthino
32-
Sound.Tidal.MIDI.MBase01
33-
Sound.Tidal.MIDI.GMPerc
31+
Sound.Tidal.MIDI.MBase01
3432
Sound.Tidal.MIDI.Tetra
3533
Sound.Tidal.MIDI.Ambika
36-
Sound.Tidal.MIDI.SynthParams
37-
Sound.Tidal.MIDI.Output
38-
Sound.Tidal.MIDI.CC
34+
Sound.Tidal.MIDI.MiniAtmegatron
35+
Sound.Tidal.MIDI.VolcaBeats
36+
Sound.Tidal.MIDI.VolcaBass
37+
Sound.Tidal.MIDI.VolcaKeys
38+
Sound.Tidal.MIDI.VolcaFM
39+
Sound.Tidal.MIDI.System1M
40+
Sound.Tidal.MIDI.KorgKP3
3941

4042
Build-depends: base < 5, tidal == 0.9, PortMidi == 0.1.6.0, time, containers, transformers
4143

0 commit comments

Comments
 (0)