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
@@ -6,14 +7,14 @@ python:
6
7
- 3.4
7
8
- 3.5
8
9
before_install :
9
- - sudo apt-get install software-properties-common
10
10
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
11
- - sudo apt-get -qq update
12
- - sudo apt-get -qq install mono-devel mono-gmcs mono-xbuild nunit-console
13
- - sudo mozroots --import --machine --sync
14
- - yes | sudo certmgr -ssl -m https://go.microsoft.com
15
- - yes | sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
16
- - yes | sudo certmgr -ssl -m https://nuget.org
11
+ - sudo apt-get install software-properties-common
12
+ - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
13
+ - echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
14
+ - echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
15
+ - sudo apt-get update
16
+ - 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
17
+
17
18
install :
18
19
- pip install six
19
20
- pip install pycparser
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ PyNet_Args* PyNet_Init(int ext) {
37
37
pn_args -> shutdown_name = "Python.Runtime:Shutdown()" ;
38
38
39
39
pn_args -> domain = mono_jit_init_version (MONO_DOMAIN , MONO_VERSION );
40
+ mono_domain_set_config (pn_args -> domain , "." , "Python.Runtime.dll.config" );
40
41
41
42
/*
42
43
* Load the default Mono configuration file, this is needed
You can’t perform that action at this time.
0 commit comments