Skip to content

Commit f94937e

Browse files
committed
Merge pull request #189 from tonyroberts/develop
Fix for #180
2 parents 6e4c8bb + 37a4ea5 commit f94937e

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
sudo: required
12
language: python
23
python:
34
- 2.6
@@ -6,14 +7,14 @@ python:
67
- 3.4
78
- 3.5
89
before_install:
9-
- sudo apt-get install software-properties-common
1010
- 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+
1718
install:
1819
- pip install six
1920
- pip install pycparser

src/monoclr/pynetinit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ PyNet_Args* PyNet_Init(int ext) {
3737
pn_args->shutdown_name = "Python.Runtime:Shutdown()";
3838

3939
pn_args->domain = mono_jit_init_version(MONO_DOMAIN, MONO_VERSION);
40+
mono_domain_set_config(pn_args->domain, ".", "Python.Runtime.dll.config");
4041

4142
/*
4243
* Load the default Mono configuration file, this is needed

0 commit comments

Comments
 (0)