forked from grobie/soundcloud2000
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
66 lines (66 loc) · 3.42 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
language: ruby
rvm:
- ruby-2.6.6
jobs:
include:
- os: osx
before_install:
- brew install portaudio
- brew install mpg123
- gem install soundcloud9000
- yes y | gem uninstall audite --force
- gem install --user audite -- --with-ldflags="-lmpg123"
- rvm get head
- brew install snapcraft
- os: linux
dist: bionic
before_install:
- sudo apt-get purge ruby
- sudo apt-get autoremove
- sudo apt-get install software-properties-common && yes y | sudo apt-add-repository ppa:brightbox/ruby-ng && sudo apt-get update
- sudo apt-get install portaudio19-dev mpg123 libmpg123-dev libncurses-dev ruby2.6-dev
- sudo apt-get install snapd && sudo snap install snapcraft --classic && sudo snap install multipass --classic
- os: linux
dist: xenial # ruby-dev on xenial is 2.3
before_install:
- sudo apt-get purge ruby
- sudo apt-get autoremove
- sudo apt-get install software-properties-common && yes y | sudo apt-add-repository ppa:brightbox/ruby-ng && sudo apt-get update
- sudo apt-get install portaudio19-dev mpg123 libmpg123-dev libncurses-dev ruby2.6-dev
- sudo apt-get install snapd && sudo snap install snapcraft --classic && sudo snap install multipass --classic
- os: linux
dist: trusty # ruby-dev on trusty is 1.9.1
before_install:
- sudo apt-get purge ruby
- sudo apt-get autoremove
- sudo apt-get install software-properties-common && yes y | sudo apt-add-repository ppa:brightbox/ruby-ng && sudo apt-get update
- sudo apt-get install portaudio19-dev mpg123 libmpg123-dev libncurses-dev ruby2.6-dev
- sudo apt-get install snapd && sudo snap refresh && sudo snap install snapcraft --classic
- os: linux
dist: precise
before_install:
- sudo apt-get purge ruby
- sudo apt-get autoremove
- sudo apt-get install python-software-properties && yes y | sudo apt-add-repository ppa:brightbox/ruby-ng && sudo apt-get update
- sudo apt-get install portaudio19-dev mpg123 libmpg123-dev libncurses-dev ruby2.6-dev
- sudo apt-get install snapd && sudo snap install core && sudo snap install snapcraft --classic
allow_failures:
- os: linux
dist: precise
env:
global:
secure: H+9rrcXIzXWGKq9UXHaIkNN4mn3tev9jI4ihKdLRvr0Bs/NzfF6ae18yxYxf7hyiDZFtflEpPP3KhAqecrSyzYXKUVNpuHUUQChOOSFuKSFjryHVR3rtwXnzfXO5K/XkREfgMkBab8rpctPrP62KL+CqNQPxZdbOYBN5fndqdjiWHk5Gfdqsl5beQVo16GQ3iRaQBaXJasTOfLf0Pr1DDVVTuTSz1vn8IjbXaRnoWZ6QEdYvqWGpIDEMIOdWvUfLgoeaHq+HWjsfILJDxyk6RuYRtnEEHvi0vB8KazSO29dCHKRghJB00mBUtU/z9hVScE2J/8MPbi0HjH3Yvq9PZbQIQBCsQr+zOVF/R/EEk7NfAS8PU061fQBwOZ9zKkDLFARzrNpQXjUBucm1+HJiitjYOT+uQ+7nY1YUjqj4ez/ppmgPdziqbSAP98IED/Swb+35D4F1WQan0xQt+GfK5u0Hf0GIKymBjBUUYy2rSY0EKaT3iFXxC5qIH7aiavTqq6JnFzQttuW5CfS9GMDPn9+X2nqj/npSwjWSOKuzWbs12+Z6hMOrXcUhV6vme9ul/PiWsfhb97x8LTpsdnPh1ElLrl7gYHF56cIISknEGMDiYzLhA1frWavajIKMvgeOSksp+LBR59n5WkoBAUcL0aNr1yaERxMBfFFi3KqWACQ=
install:
- ruby -v
- gem install bundler:2.1.4
script:
- yes y | gem uninstall soundcloud9000
- bundle _2.1.4_ config set path 'vendor/bundle'
- bundle _2.1.4_ install
- bundle _2.1.4_ exec rake install
- bundle _2.1.4_ exec rake clobber
- bundle _2.1.4_ exec rake install:local
- yes y | gem build soundcloud9000.gemspec
- gem install soundcloud9000-0.1.3.gem
- yes y | gem uninstall soundcloud9000
- yes y | sudo snapcraft