diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..d8c0f8f --- /dev/null +++ b/circle.yml @@ -0,0 +1,32 @@ +machine: + environment: + PATH: $HOME/bin/:$PATH + LD_RUN_PATH: $LD_RUN_PATH:$HOME/opus/lib + LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$HOME/opus/lib + PKG_CONFIG_PATH: $PKG_CONFIG_PATH:$HOME/opus/lib/pkgconfig + +dependencies: + pre: + - sudo apt-get purge -y ffmpeg + - bash install-dependencies.sh + + override: + - make + - make install + + cache_directories: + - "~/opus" + - "~/bin" + - "~/mumbledj/.vendor" + - "/home/ubuntu/.go_workspace/bin" + - "/home/ubuntu/.go_workspace/pkg" + - "/home/ubuntu/.go_workspace/src/github.com/nitrous-io" + +test: + override: + - ffmpeg -version + - ls -lR /usr/local/bin + - echo "$PATH" + - youtube-dl --output ~/.mumbledj/songs/QcIy9NiNbmo.m4a --format m4a --prefer-ffmpeg -v http://www.youtube.com/watch?v=QcIy9NiNbmo + - mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true: + timeout: 180 \ No newline at end of file