File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change
1
+ sudo : required
1
2
language : python
2
3
python :
3
4
- 2.6
4
5
- 2.7
5
6
before_install :
6
- - sudo apt-get install software-properties-common
7
7
- 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
9458
::="--force-confdef" -o Dpkg::Options::="--force-confnew" install mono-devel mono-complete referenceassemblies-pcl ca-certificates-mono nunit-console
14
+
14
15
install :
15
16
- python setup.py build_ext --inplace
16
17
script :
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ PyNet_Args* PyNet_Init(int ext) {
31
31
pn_args -> shutdown_name = "Python.Runtime:Shutdown()" ;
32
32
33
33
pn_args -> domain = mono_jit_init_version (MONO_DOMAIN , MONO_VERSION );
34
+ mono_domain_set_config (pn_args -> domain , "." , "Python.Runtime.dll.config" );
34
35
35
36
/*
36
37
* Load the default Mono configuration file, this is needed
You can’t perform that action at this time.
0 commit comments