Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated installation #6

Merged
merged 21 commits into from
May 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
04a711e
update conda envs, remove obsolete code
sebastian-luna-valero Mar 16, 2018
434d2da
update conda envs
sebastian-luna-valero Mar 20, 2018
3aac6f0
replace scripts-*.yml with apps-*.yml
sebastian-luna-valero Mar 20, 2018
d207a7d
install cgat-core with installer
sebastian-luna-valero Mar 20, 2018
b1e7cb1
update envs
sebastian-luna-valero Mar 22, 2018
3253635
refactor script to manage all conda deps from different envs
sebastian-luna-valero Mar 23, 2018
0dcd3ac
bugfix test_core_branch
sebastian-luna-valero Mar 23, 2018
accca25
update extra envs
sebastian-luna-valero Mar 23, 2018
0bce067
pin pandoc and gmap
sebastian-luna-valero Mar 23, 2018
dd48729
tophat2 and macs2 conda envs, and minor tweaks to get pipeline_testi…
sebastian-luna-valero Mar 23, 2018
c19ff55
replace py2 env with macs2 and tophat2 envs
sebastian-luna-valero Mar 23, 2018
223971f
update README
sebastian-luna-valero Mar 23, 2018
22eb91d
troubleshoot unknown install issue
sebastian-luna-valero Mar 26, 2018
dc23f53
further troubleshooting
sebastian-luna-valero Mar 26, 2018
25728f5
updated test_import.py
sebastian-luna-valero Mar 26, 2018
aedd64e
enable OS X builds
sebastian-luna-valero Mar 26, 2018
b338bfa
download correct version of miniconda and consistently parse setup.py
sebastian-luna-valero Mar 27, 2018
ed9f9a7
use correct filename to run Miniconda
sebastian-luna-valero Mar 27, 2018
99d1ae7
merge with master
sebastian-luna-valero May 3, 2018
6723fed
update geneinfo for yml processing
sebastian-luna-valero May 4, 2018
d086170
update cgat-report
sebastian-luna-valero May 4, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 27 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@

# https://docs.travis-ci.com/user/multi-os/
os:
- osx
- linux

# use container-based infrastructure on Travis
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false
#sudo: false

# use VM infrastructure on Travis
# exit code 137 indicates that your build is now taking more memory
# or rather it's running alongside other builds requiring a lot of memory.
# This can happen because your builds are running on container-based infrastructure and they will share the host's 4 GB memory.
# To mitigate this situation, run your builds on our sudo-enabled Precise infrastructure.
# Over there, your builds will run on a fully independent VM with 7.5 GB of (unshared) memory.
sudo: required

# http://mailchi.mp/travis-ci/ubuntu-trusty-update-2017q4-and-new-ltslatest-process?e=073d892e7f
group: edge

language: python
language: generic

env:
global:
- TEST_ALL=1
- TEST_ALL=1

python:
# - "2.7"
- "3.5"
# Using xvfb to Run Tests That Require a GUI
# NOTE: The "before_script" section below does not work properly, but right now is not required
# Linux: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
# OS X:https://github.com/travis-ci/travis-ci/issues/7313#issuecomment-279914149
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start && sleep 3 ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ( sudo Xvfb :99 -ac -screen 0 1024x768x8 && echo ok )& ; fi

script:
- ./install-CGAT-tools.sh --travis
- travis_wait 30 ./install-CGAT-tools.sh --travis

6 changes: 0 additions & 6 deletions CGATPipelines/PipelineMapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -2149,9 +2149,6 @@ def mapper(self, infiles, outfile):

executable = self.executable

statement = P.getCondaEnvironment(PARAMS['conda_py2'])
statement.append(" && ")

num_files = [len(x) for x in infiles]

if max(num_files) != min(num_files):
Expand Down Expand Up @@ -2398,9 +2395,6 @@ def mapper(self, infiles, outfile):

data_options = " ".join(data_options)

statement = P.getCondaEnvironment(PARAMS['conda_py2'])
statement.append(" && ")

if nfiles == 1:
infiles = ",".join([x[0] for x in infiles])
statement.append('''
Expand Down
109 changes: 0 additions & 109 deletions CGATPipelines/pipeline_docs/pipeline_proj007/Makefile

This file was deleted.

16 changes: 0 additions & 16 deletions CGATPipelines/pipeline_docs/pipeline_proj007/contents.rst

This file was deleted.

97 changes: 0 additions & 97 deletions CGATPipelines/pipeline_docs/pipeline_proj007/pipeline.rst

This file was deleted.

Binary file not shown.
24 changes: 0 additions & 24 deletions CGATPipelines/pipeline_docs/pipeline_proj007/pipeline/Mapping.rst

This file was deleted.

42 changes: 0 additions & 42 deletions CGATPipelines/pipeline_docs/pipeline_proj007/pipeline/Methods.rst

This file was deleted.

This file was deleted.

Loading