File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ sudo : required
12language : python
23python :
34 - 2.6
45 - 2.7
56before_install :
6- - sudo apt-get install software-properties-common
77 - sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
8- - sudo apt-get -qq update
9- - sudo apt-get -qq install mono-devel mono-gmcs mono-xbuild nunit-console
10- - sudo mozroots --import --machine --sync
11- - yes | sudo certmgr -ssl -m https://go.microsoft.com
12- - yes | sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
13- - yes | sudo certmgr -ssl -m https://nuget.org
8+ - sudo apt-get install software-properties-common
9+ - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
10+ - echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
11+ - echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
12+ - sudo apt-get update
13+ - 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
14+
1415install :
1516 - python setup.py build_ext --inplace
1617script :
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ PyNet_Args* PyNet_Init(int ext) {
3131 pn_args -> shutdown_name = "Python.Runtime:Shutdown()" ;
3232
3333 pn_args -> domain = mono_jit_init_version (MONO_DOMAIN , MONO_VERSION );
34+ mono_domain_set_config (pn_args -> domain , "." , "Python.Runtime.dll.config" );
3435
3536 /*
3637 * Load the default Mono configuration file, this is needed
You can’t perform that action at this time.
0 commit comments