Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
force-bdss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Adham Hashibon
force-bdss
Commits
2f67733d
Commit
2f67733d
authored
6 years ago
by
Stefano Borini
Browse files
Options
Downloads
Plain Diff
Merge branch 'py3-only' into added-install-step
parents
41af40e6
d134f83e
No related branches found
Branches containing commit
No related tags found
1 merge request
!180
Added the install step to the CI package, instead of having it in the build-env
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+6
-8
6 additions, 8 deletions
.travis.yml
CHANGES.rst
+2
-2
2 additions, 2 deletions
CHANGES.rst
ci/__main__.py
+2
-2
2 additions, 2 deletions
ci/__main__.py
doc/source/installation.rst
+7
-7
7 additions, 7 deletions
doc/source/installation.rst
with
17 additions
and
19 deletions
.travis.yml
+
6
−
8
View file @
2f67733d
...
...
@@ -3,22 +3,20 @@ cache:
directories
:
-
"
$HOME/.cache"
-
"
$HOME/.ccache"
env
:
-
PYTHON_VERSION=2.7
-
PYTHON_VERSION=3.5
before_install
:
-
ccache -s
-
export PATH=/usr/lib/ccache:${PATH}
-
wget https://package-data.enthought.com/edm/rh5_x86_64/1.9/edm_1.9.2_linux_x86_64.sh && bash ./edm_1.9.2_linux_x86_64.sh -b -f -p $HOME
-
export PATH=${HOME}/edm/bin:${PATH}
-
edm install -y -e force-bootstrap click setuptools
-
edm run -e force-bootstrap -- python -m ci build-env
--python-version ${PYTHON_VERSION}
-
edm run -e force-bootstrap -- python -m ci build-env
script
:
-
edm run -e force-bootstrap -- python -m ci flake8 --python-version ${PYTHON_VERSION}
-
edm run -e force-bootstrap -- python -m ci test --python-version ${PYTHON_VERSION}
-
edm run -e force-bootstrap -- python -m ci docs --python-version ${PYTHON_VERSION}
-
edm run -e force-bootstrap -- python -m ci install
-
edm run -e force-bootstrap -- python -m ci flake8
-
edm run -e force-bootstrap -- python -m ci test
-
edm run -e force-bootstrap -- python -m ci docs
after_success
:
-
edm run -e force-bootstrap -- python -m ci coverage
--python-version ${PYTHON_VERSION}
-
edm run -e force-bootstrap -- python -m ci coverage
-
edm run -e force-bootstrap -- pip install codecov
-
edm run -e force-bootstrap -- codecov
-
bash <(curl -s https://codecov.io/bash)
This diff is collapsed.
Click to expand it.
CHANGES.rst
+
2
−
2
View file @
2f67733d
...
...
@@ -5,8 +5,8 @@ Release 0.3.0
-------------
- Installation now requires two separate steps to build the environment
and to install the
bdss.
(#180)
and to install the
BDSS
(#180)
- Removed support for python2 (#179)
Release 0.2.0
-------------
...
...
This diff is collapsed.
Click to expand it.
ci/__main__.py
+
2
−
2
View file @
2f67733d
import
click
from
subprocess
import
check_call
DEFAULT_PYTHON_VERSION
=
"
2.7
"
PYTHON_VERSIONS
=
[
"
2.7
"
,
"
3.5
"
]
DEFAULT_PYTHON_VERSION
=
"
3.5
"
PYTHON_VERSIONS
=
[
"
3.5
"
]
CORE_DEPS
=
[
"
distribute_remove==1.0.0-4
"
,
...
...
This diff is collapsed.
Click to expand it.
doc/source/installation.rst
+
7
−
7
View file @
2f67733d
...
...
@@ -10,21 +10,21 @@ git repositories::
The last repository is optional, but recommended if you want to practice
writing plugins.
Next, download EDM package manager, and create a bootstrap environment::
Next, download EDM package manager, and create a bootstrap environment.
We assume the bootstrap environment is the default one (called ``edm``)::
wget https://package-data.enthought.com/edm/rh5_x86_64/1.9/edm_1.9.2_linux_x86_64.sh && bash ./edm_1.9.2_linux_x86_64.sh -b -f -p $HOME
export PATH=${HOME}/edm/bin:${PATH}
edm environments create --version 3.5 force
edm install -y -e force-bootstrap click setuptools
edm shell --environment=force-bootstrap
edm install --version 3.5 -y pyyaml click setuptools
edm shell
Verify that your prompt changes to add "(
force-bootstrap
)".
Verify that your prompt changes to add "(
edm
)".
Installation of the force BDSS runtime environment is performed with the
following command::
python -m ci build-env
This will create another edm environment called ``force-py
27
``.
This will create another edm environment called ``force-py
35
``.
To install the BDSS::
...
...
@@ -44,7 +44,7 @@ and (optional, but recommended), the example plugins::
Now you can enter the deployed environment and invoke the programs::
edm shell -e force-py
27
edm shell -e force-py
35
# Invokes the workflow manager UI
force_wfmanager
# Invokes the CLI BDSS evaluator
...
...
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