Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed May 19, 2018
1 parent d1260bf commit 89a8c62
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ jobs:
python3 -m venv venv
. venv/bin/activate
pip3 install -U setuptools wheel
pip3 install git+https://github.com/pythonnet/pythonnet --xplat
git clone https://github.com/pythonnet/pythonnet.git
cd pythonnet
python3 setup.py install --xplat
cd ..
- save_cache:
paths:
Expand Down
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ before_install:

install:
- pip install -r requirements.txt
- pip install git+https://github.com/pythonnet/pythonnet --xplat
- git clone https://github.com/pythonnet/pythonnet.git
- cd pythonnet
- python setup.py install --xplat
- cd ..

before_script:
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
Expand Down
16 changes: 15 additions & 1 deletion _doc/sphinxdoc/source/blog/2018/2018-05-16_firstblog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,18 @@
:date: 2018-05-16
:categories: intention

Speed up :epkg:`Python` with C#.
The project offers the possibility to speed up :epkg:`Python`
with :epkg:`C#`. That's what :epkg:`pythonnet` already does.
The objective is also to add custom :epkg:`C#` assemblies
as part of the build and to import them from ::epkg:`Python`.
The first step of this project was to prepare a
continuous build which works on Windows and Linux.
It was not that so obvious to install :epgk:`dotnet`,
:epkg:`Python` and :epkg:`pythonnet` on the same
build for :epkg:`travis` and :epkg:`circleci`.
Some links to help:

* `Failed building wheel <https://github.com/pythonnet/pythonnet/issues/562>`_
* `Prérequis pour .NET Core sur Linux <https://docs.microsoft.com/fr-fr/dotnet/core/linux-prerequisites?tabs=netcore2x>`_
* `Install .NET Core SDK 2.1.300-preview1 on Linux Ubuntu 14.04 <https://www.microsoft.com/net/download/linux-package-manager/ubuntu14-04/sdk-2.1.300-preview1>`_

0 comments on commit 89a8c62

Please sign in to comment.