X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
sudo: required
language: python
python:
- 2.6
- 2.7
before_install:
- sudo apt-get install software-properties-common
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"
- sudo apt-get -qq update
- sudo apt-get -qq install mono-devel mono-gmcs mono-xbuild nunit-console
- sudo mozroots --import --machine --sync
- yes | sudo certmgr -ssl -m https://go.microsoft.com
- yes | sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
- yes | sudo certmgr -ssl -m https://nuget.org
- sudo apt-get install software-properties-common
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
- echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
- sudo apt-get update
- 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

install:
- python setup.py build_ext --inplace
script:
Expand Down
1 change: 1 addition & 0 deletions src/monoclr/pynetinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ PyNet_Args* PyNet_Init(int ext) {
pn_args->shutdown_name = "Python.Runtime:Shutdown()";

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

/*
* Load the default Mono configuration file, this is needed
Expand Down
X Tutup