Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
keeleliin
word_cloud_est
Commits
76688441
Commit
76688441
authored
Jun 19, 2015
by
Andreas Mueller
Browse files
use container environment on travis
parent
570717fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
76688441
language
:
python
sudo
:
false
addons
:
apt
:
packages
:
# Only used by the DISTRIB="ubuntu" setting
-
python-numpy
virtualenv
:
system_site_packages
:
true
env
:
...
...
continuous_integration/install.sh
View file @
76688441
...
...
@@ -13,9 +13,6 @@ set -e
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
...
...
@@ -31,14 +28,16 @@ if [[ "$DISTRIB" == "conda" ]]; then
# 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
\
conda create
-n
testenv
--yes
python
=
$PYTHON_VERSION
pip nose
\
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
virtualenv
--system-site-packages
testvenv
source
testvenv/bin/activate
pip
install
nose
fi
pip
install
-r
requirements.txt
...
...
@@ -46,5 +45,3 @@ pip install -r requirements.txt
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
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