Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
word_cloud_est
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
keeleliin
word_cloud_est
Commits
d7d33479
Commit
d7d33479
authored
Dec 04, 2014
by
Andreas Mueller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add travis config
parent
099f714c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
1 deletion
+64
-1
.travis.yml
.travis.yml
+13
-0
continuous_integration/install.sh
continuous_integration/install.sh
+50
-0
requirements.txt
requirements.txt
+1
-1
No files found.
.travis.yml
0 → 100644
View file @
d7d33479
language
:
python
virtualenv
:
system_site_packages
:
true
env
:
matrix
:
-
DISTRIB="ubuntu" PYTHON_VERSION="2.7"
# This environment tests the oldest supported anaconda env
-
DISTRIB="conda" PYTHON_VERSION="2.7" NUMPY_VERSION="1.7.1"
# This environment tests the newest supported anaconda env
-
DISTRIB="conda" PYTHON_VERSION="3.4" NUMPY_VERSION="1.8.1"
install
:
source continuous_integration/install.sh
cache
:
apt
script
:
nosetests
continuous_integration/install.sh
0 → 100644
View file @
d7d33479
#!/bin/bash
# This script is meant to be called by the "install" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
# The behavior of the script is controlled by environment variabled defined
# in the .travis.yml in the top level folder of the project.
# License: 3-clause BSD
set
-e
# Fix the compilers to workaround avoid having the Python 3.4 build
# lookup for g++44 unexpectedly.
export
CC
=
gcc
export
CXX
=
g++
sudo
apt-get update
-qq
sudo
apt-get
install
fonts-droid
if
[[
"
$DISTRIB
"
==
"conda"
]]
;
then
# Deactivate the travis-provided virtual environment and setup a
# conda-based environment instead
deactivate
# Use the miniconda installer for faster download / install of conda
# itself
wget http://repo.continuum.io/miniconda/Miniconda-3.6.0-Linux-x86_64.sh
\
-O
miniconda.sh
chmod
+x miniconda.sh
&&
./miniconda.sh
-b
export
PATH
=
/home/travis/miniconda/bin:
$PATH
conda update
--yes
conda
# Configure the conda environment and put it in the path using the
# provided versions
conda create
-n
testenv
--yes
python
=
$PYTHON_VERSION
pip nose cython
\
numpy
=
$NUMPY_VERSION
source
activate testenv
elif
[[
"
$DISTRIB
"
==
"ubuntu"
]]
;
then
# Use standard ubuntu packages in their default version
sudo
apt-get
install
-qq
python-numpy cython
fi
pip
install
-r
requirements.txt
--use-mirrors
python
--version
python
-c
"import numpy; print('numpy %s' % numpy.__version__)"
python setup.py build_ext
--inplace
ls
/usr/share/fonts/truetype/
ls
/usr/share/fonts/truetype/droid
requirements.txt
View file @
d7d33479
Cython
>=0.19.1
PIL
>=1.1.7
Image
>=1.1.7
numpy
>=1.7.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment