-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating travis-ci infrastructure to run SuperCollider for tests.
installing audio stuff, specifying node version in nvmrc hoping this will print the available devices installing jack would help sudo sudo list backends with help jackd jackd start jackd in background no-realtime
- Loading branch information
1 parent
aa72dec
commit b978b4a
Showing
5 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12.12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
dist: xenial | ||
language: node_js | ||
node_js: | ||
- node | ||
before_install: | ||
- $TRAVIS_BUILD_DIR/.travis/install_system_audio.sh | ||
- sudo bash $TRAVIS_BUILD_DIR/.travis/prep-dummy-soundcard.sh | ||
- $TRAVIS_BUILD_DIR/.travis/start_jackd_dummy.sh | ||
- $TRAVIS_BUILD_DIR/.travis/install_supercollider.sh | ||
- $TRAVIS_BUILD_DIR/.travis/install_supercolliderjs_config.sh | ||
- $TRAVIS_BUILD_DIR/.travis/install_quark.sh | ||
cache: | ||
directories: | ||
- $HOME/supercollider | ||
- $HOME/sc3-plugins | ||
env: | ||
global: | ||
AUDIODEV=null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo apt-get update -qq | ||
sudo usermod -a -G audio travis | ||
sudo apt-get install -y portaudio19-dev | ||
sudo apt-get install -y libasound2-dev alsa-utils alsa-oss | ||
sudo apt-get install -y jack-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
cat << EOF > /home/travis/.asoundrc | ||
pcm.dummy { | ||
type hw | ||
card 0 | ||
} | ||
ctl.dummy { | ||
type hw | ||
card 0 | ||
} | ||
EOF | ||
chmod go+r /home/travis/.asoundrc | ||
cat << EOF >> /etc/modules.conf | ||
# OSS/Free portion - card #1 | ||
alias sound-slot-0 snd-card-0 | ||
alias sound-service-0-0 snd-mixer-oss | ||
alias sound-service-0-1 snd-seq-oss | ||
alias sound-service-0-3 snd-pcm-oss | ||
alias sound-service-0-8 snd-seq-oss | ||
alias sound-service-0-12 snd-pcm-oss | ||
EOF | ||
modprobe snd-dummy | ||
# ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss | ||
mkdir -p tmp && chmod 777 tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
jackd --no-realtime -d dummy & |