File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,19 @@ matrix:
43
43
language : generic
44
44
env : TOXENV=py35
45
45
46
- before_install :
47
- - sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
48
- - sudo apt-get install software-properties-common
49
- - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
50
- - echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.2.4.4 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
51
- - echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
52
- - sudo apt-get update
53
- - sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install mono-devel mono-complete referenceassemblies-pcl ca-certificates-mono nunit-console
54
-
46
+ before_install :
47
+ - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
48
+ brew update;
49
+ brew install mono
50
+ else
51
+ sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe";
52
+ sudo apt-get install software-properties-common;
53
+ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF;
54
+ echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.2.4.4 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list;
55
+ echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list;
56
+ sudo apt-get update;
57
+ sudo DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install mono-devel mono-complete referenceassemblies-pcl ca-certificates-mono nunit-console
58
+ fi
55
59
install :
56
60
# - ./.travis/install.sh
<
3C52
/td>57
61
- pip install tox
You can’t perform that action at this time.
0 commit comments