Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
767bd54f
Commit
767bd54f
authored
9 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Update apt
parent
1ab5d993
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+20
-0
20 additions, 0 deletions
.travis.yml
ci/travis/before_install.sh
+3
-1
3 additions, 1 deletion
ci/travis/before_install.sh
with
23 additions
and
1 deletion
.travis.yml
+
20
−
0
View file @
767bd54f
sudo
:
true
# fully specify builds, include can't dynamically expand matrix entries
# relative order of sudo and env is important so that addons
:
is recognized
- os
:
linux
dist
:
trusty
sudo
:
required
env
:
TARGET="linux"
addons
:
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
-
gcc-4.9
-
g++-4.9
matrix
:
matrix
:
include
:
include
:
-
os
:
osx
-
os
:
osx
-
os
:
linux
-
os
:
linux
dist
:
trusty
dist
:
trusty
-
os
:
linux
sudo
:
false
cache
:
directories
:
-
~/.pyenv
env
:
env
:
-
PYENV_PYTHON_VERSION=3.5.0
-
PYENV_PYTHON_VERSION=3.5.0
...
...
This diff is collapsed.
Click to expand it.
ci/travis/before_install.sh
+
3
−
1
View file @
767bd54f
...
@@ -10,6 +10,7 @@ then
...
@@ -10,6 +10,7 @@ then
brew
install
pyenv-virtualenv
brew
install
pyenv-virtualenv
elif
[
$TRAVIS_OS_NAME
==
"linux"
]
elif
[
$TRAVIS_OS_NAME
==
"linux"
]
then
then
sudo
apt-get update
sudo
apt-get
install
libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0
\
sudo
apt-get
install
libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0
\
libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-sync0 libxcb-sync0-dev
\
libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev libxcb-sync0 libxcb-sync0-dev
\
libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0
\
libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0
\
...
@@ -27,7 +28,8 @@ pyenv activate sakia-env
...
@@ -27,7 +28,8 @@ pyenv activate sakia-env
if
[
$?
-ne
0
]
if
[
$?
-ne
0
]
then
then
echo
"Sakia env cache cleared, rebuilding it..."
echo
"Sakia env cache cleared, rebuilding it..."
env
PYTHON_CONFIGURE_OPTS
=
"--enable-framework"
pyenv
install
$PYENV_PYTHON_VERSION
[
$TRAVIS_OS_NAME
==
"osx"
]
&&
env
PYTHON_CONFIGURE_OPTS
=
"--enable-framework"
pyenv
install
$PYENV_PYTHON_VERSION
[
$TRAVIS_OS_NAME
==
"linux"
]
&&
PYTHON_CONFIGURE_OPTS
=
"--enable-shared"
pyenv
install
$PYENV_PYTHON_VERSION
pyenv shell
$PYENV_PYTHON_VERSION
pyenv shell
$PYENV_PYTHON_VERSION
pyenv virtualenv sakia-env
pyenv virtualenv sakia-env
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment