... | ... |
@@ -39,9 +39,9 @@ matrix: |
39 | 39 |
- sudo apt-get install jq |
40 | 40 |
- pip install mkdocs==1 mkdocs-material==3.0.3 |
41 | 41 |
- conda install r-knitr r-devtools |
42 |
- - R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr"), repos="http://cran.us.r-project.org"); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
|
43 |
- - R -e 'install.packages("Rd2md", repos="http://cran.us.r-project.org")' |
|
44 |
- - R -e 'install.packages("Rcpp", repos="http://cran.us.r-project.org")' |
|
42 |
+ - R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr"), repos="http://cran.mtu.edu"); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
|
43 |
+ - R -e 'install.packages("Rd2md", repos="http://cran.mtu.edu")' |
|
44 |
+ - R -e 'install.packages("Rcpp", repos="http://cran.mtu.edu")' |
|
45 | 45 |
- R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("BiocInstaller"); library(devtools); install_github("compbiocore/RSeqAn",build_vignettes=FALSE)' |
46 | 46 |
before_script: |
47 | 47 |
- source activate test-env |
... | ... |
@@ -35,12 +35,13 @@ matrix: |
35 | 35 |
- conda info -a |
36 | 36 |
- conda create -q -n test-env python=$TRAVIS_PYTHON_VERSION |
37 | 37 |
- source activate test-env |
38 |
+ - sudo apt-get install jq |
|
38 | 39 |
- pip install mkdocs==1 mkdocs-material==3.0.3 |
39 | 40 |
- conda install r-knitr r-devtools |
40 | 41 |
- R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr"), repos="http://cran.us.r-project.org"); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
41 | 42 |
- R -e 'install.packages("Rd2md", repos="http://cran.us.r-project.org")' |
42 | 43 |
- R -e 'install.packages("Rcpp", repos="http://cran.us.r-project.org")' |
43 |
- - R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("BiocInstaller"); library(devtools); install_github("compbiocore/qckitfastq",build_vignettes=FALSE)' |
|
44 |
+ - R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("BiocInstaller"); library(devtools); install_github("compbiocore/RSeqAn",build_vignettes=FALSE)' |
|
44 | 45 |
before_script: |
45 | 46 |
- source activate test-env |
46 | 47 |
script: |
... | ... |
@@ -48,8 +49,10 @@ matrix: |
48 | 49 |
- Rscript make.R |
49 | 50 |
- mkdir docs/styles |
50 | 51 |
- mkdir docs/images |
51 |
- - curl https://gist.githubusercontent.com/fernandogelin/08ecff3387dffc374c4abf06a577ab71/raw/083a383e51533feb20f3b03e6edcd9e86ddc59f9/dark_mode.css > docs/styles/dark_mode.css |
|
52 |
- - curl https://gist.githubusercontent.com/fernandogelin/b02ee98f2f35ce4263093f7a1c66582b/raw/20ca5a37eb6defe00d35e50e7e00a784b64309f9/cbc-logo.svg > docs/images/cbc-logo.svg |
|
52 |
+ - curl https://api.github.com/repos/compbiocore/cbc-documentation-templates/contents/files/dark_mode.css\?access_token\=$GITHUB_TOKEN > dark_mode.json |
|
53 |
+ - jq -r '.content' < dark_mode.json | base64 --decode > docs/styles/dark_mode.css |
|
54 |
+ - curl https://api.github.com/repos/compbiocore/cbc-documentation-templates/contents/files/cbc-logo.svg\?access_token\=$GITHUB_TOKEN > logo.json |
|
55 |
+ - jq -r '.content' < logo.json | base64 --decode > docs/images/cbc-logo.svg |
|
53 | 56 |
- mkdocs build --verbose --clean --strict |
54 | 57 |
deploy: |
55 | 58 |
provider: pages |
... | ... |
@@ -39,6 +39,7 @@ matrix: |
39 | 39 |
- conda install r-knitr r-devtools |
40 | 40 |
- R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr"), repos="http://cran.us.r-project.org"); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
41 | 41 |
- R -e 'install.packages("Rd2md", repos="http://cran.us.r-project.org")' |
42 |
+ - R -e 'install.packages("Rcpp", repos="http://cran.us.r-project.org")' |
|
42 | 43 |
- R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("BiocInstaller"); library(devtools); install_github("compbiocore/qckitfastq",build_vignettes=FALSE)' |
43 | 44 |
before_script: |
44 | 45 |
- source activate test-env |
... | ... |
@@ -37,8 +37,8 @@ matrix: |
37 | 37 |
- source activate test-env |
38 | 38 |
- pip install mkdocs==1 mkdocs-material==3.0.3 |
39 | 39 |
- conda install r-knitr r-devtools |
40 |
- - R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr")); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
|
41 |
- - R -e 'install.packages("Rd2md")' |
|
40 |
+ - R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr"), repos="http://cran.us.r-project.org"); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
|
41 |
+ - R -e 'install.packages("Rd2md", repos="http://cran.us.r-project.org")' |
|
42 | 42 |
- R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("BiocInstaller"); library(devtools); install_github("compbiocore/qckitfastq",build_vignettes=FALSE)' |
43 | 43 |
before_script: |
44 | 44 |
- source activate test-env |
... | ... |
@@ -1,27 +1,28 @@ |
1 | 1 |
matrix: |
2 | 2 |
include: #allows to set up tests/deploys in different languages/environments. |
3 | 3 |
- stage: test # groups builds by type, add your tests here |
4 |
- # Run Travis CI for R using https://eddelbuettel.github.io/r-travis/ |
|
5 |
- language: c |
|
6 |
- sudo: required |
|
7 |
- dist: trusty |
|
4 |
+ language: r |
|
5 |
+ r: bioc-release |
|
6 |
+ os: linux |
|
7 |
+ addons: |
|
8 |
+ apt: |
|
9 |
+ packages: |
|
10 |
+ - g++-6 |
|
11 |
+ sources: |
|
12 |
+ - ubuntu-toolchain-r-test |
|
13 |
+ env: |
|
14 |
+ - MATRIX_EVAL="CXX=g++-6 && CC=gcc-6" |
|
8 | 15 |
before_install: |
9 |
- - curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh |
|
10 |
- # optionally add our launchpad repo, but not needed here |
|
11 |
- # - sudo add-apt-repository -y ppa:edd/misc |
|
12 |
- - ./run.sh bootstrap |
|
13 |
- install: |
|
14 |
- - ./run.sh install_aptget r-cran-rmarkdown r-cran-knitr |
|
15 |
- script: |
|
16 |
- - ./run.sh run_tests |
|
17 |
- after_failure: |
|
18 |
- - ./run.sh dump_logs |
|
19 |
- #after_success: |
|
20 |
- # - ./run.sh coverage |
|
21 |
- notifications: |
|
22 |
- email: |
|
23 |
- on_success: change |
|
24 |
- on_failure: change |
|
16 |
+ - eval "${MATRIX_EVAL}" |
|
17 |
+ - bash configure.sh |
|
18 |
+ - cat DESCRIPTION |
|
19 |
+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90 |
|
20 |
+ - gcc --version |
|
21 |
+ - g++ --version |
|
22 |
+ r_packages: |
|
23 |
+ - covr |
|
24 |
+ after_success: |
|
25 |
+ - Rscript -e 'library(covr); codecov()' |
|
25 | 26 |
- stage: deploy # this block builds and deploys the docs, it's in Python. |
26 | 27 |
language: python |
27 | 28 |
install: |
fixes logo path
... | ... |
@@ -47,7 +47,7 @@ matrix: |
47 | 47 |
- mkdir docs/styles |
48 | 48 |
- mkdir docs/images |
49 | 49 |
- curl https://gist.githubusercontent.com/fernandogelin/08ecff3387dffc374c4abf06a577ab71/raw/083a383e51533feb20f3b03e6edcd9e86ddc59f9/dark_mode.css > docs/styles/dark_mode.css |
50 |
- - curl https://gist.githubusercontent.com/fernandogelin/b02ee98f2f35ce4263093f7a1c66582b/raw/8c8b8a03203f2dbc9040ea2970fc888f14e08cb6/cbc-logo.svg > docs/images/cbc-logo.svg |
|
50 |
+ - curl https://gist.githubusercontent.com/fernandogelin/b02ee98f2f35ce4263093f7a1c66582b/raw/20ca5a37eb6defe00d35e50e7e00a784b64309f9/cbc-logo.svg > docs/images/cbc-logo.svg |
|
51 | 51 |
- mkdocs build --verbose --clean --strict |
52 | 52 |
deploy: |
53 | 53 |
provider: pages |
changes path of cbc logo and dark mode css.
... | ... |
@@ -46,8 +46,8 @@ matrix: |
46 | 46 |
- Rscript make.R |
47 | 47 |
- mkdir docs/styles |
48 | 48 |
- mkdir docs/images |
49 |
- - curl https://raw.githubusercontent.com/compbiocore/cbc-documentation-templates/master/docs/assets/styles/dark_mode.css > docs/styles/dark_mode.css |
|
50 |
- - curl https://raw.githubusercontent.com/compbiocore/cbc-documentation-templates/master/docs/assets/img/cbc-logo.svg > docs/images/cbc-logo.svg |
|
49 |
+ - curl https://gist.githubusercontent.com/fernandogelin/08ecff3387dffc374c4abf06a577ab71/raw/083a383e51533feb20f3b03e6edcd9e86ddc59f9/dark_mode.css > docs/styles/dark_mode.css |
|
50 |
+ - curl https://gist.githubusercontent.com/fernandogelin/b02ee98f2f35ce4263093f7a1c66582b/raw/8c8b8a03203f2dbc9040ea2970fc888f14e08cb6/cbc-logo.svg > docs/images/cbc-logo.svg |
|
51 | 51 |
- mkdocs build --verbose --clean --strict |
52 | 52 |
deploy: |
53 | 53 |
provider: pages |
... | ... |
@@ -55,4 +55,4 @@ matrix: |
55 | 55 |
github_token: $GITHUB_PAT |
56 | 56 |
local_dir: site |
57 | 57 |
on: |
58 |
- branch: master |
|
59 | 58 |
\ No newline at end of file |
59 |
+ branch: master |
... | ... |
@@ -36,8 +36,8 @@ matrix: |
36 | 36 |
- source activate test-env |
37 | 37 |
- pip install mkdocs==1 mkdocs-material==3.0.3 |
38 | 38 |
- conda install r-knitr r-devtools |
39 |
- - R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr"), repos="http://cran.us.r-project.org"); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
|
40 |
- - R -e 'install.packages("Rd2md", repos="http://cran.us.r-project.org")' |
|
39 |
+ - R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr")); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
|
40 |
+ - R -e 'install.packages("Rd2md")' |
|
41 | 41 |
- R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("BiocInstaller"); library(devtools); install_github("compbiocore/qckitfastq",build_vignettes=FALSE)' |
42 | 42 |
before_script: |
43 | 43 |
- source activate test-env |
... | ... |
@@ -1,30 +1,58 @@ |
1 |
-# Run Travis CI for R using https://eddelbuettel.github.io/r-travis/ |
|
2 |
- |
|
3 |
-language: c |
|
4 |
- |
|
5 |
-sudo: required |
|
6 |
- |
|
7 |
-dist: trusty |
|
8 |
- |
|
9 |
-before_install: |
|
10 |
- - curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh |
|
11 |
- # optionally add our launchpad repo, but not needed here |
|
12 |
- # - sudo add-apt-repository -y ppa:edd/misc |
|
13 |
- - ./run.sh bootstrap |
|
14 |
- |
|
15 |
-install: |
|
16 |
- - ./run.sh install_aptget r-cran-rmarkdown r-cran-knitr |
|
17 |
- |
|
18 |
-script: |
|
19 |
- - ./run.sh run_tests |
|
20 |
- |
|
21 |
-after_failure: |
|
22 |
- - ./run.sh dump_logs |
|
23 |
- |
|
24 |
-#after_success: |
|
25 |
-# - ./run.sh coverage |
|
26 |
- |
|
27 |
-notifications: |
|
28 |
- email: |
|
29 |
- on_success: change |
|
30 |
- on_failure: change |
|
31 | 1 |
\ No newline at end of file |
2 |
+matrix: |
|
3 |
+ include: #allows to set up tests/deploys in different languages/environments. |
|
4 |
+ - stage: test # groups builds by type, add your tests here |
|
5 |
+ # Run Travis CI for R using https://eddelbuettel.github.io/r-travis/ |
|
6 |
+ language: c |
|
7 |
+ sudo: required |
|
8 |
+ dist: trusty |
|
9 |
+ before_install: |
|
10 |
+ - curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh |
|
11 |
+ # optionally add our launchpad repo, but not needed here |
|
12 |
+ # - sudo add-apt-repository -y ppa:edd/misc |
|
13 |
+ - ./run.sh bootstrap |
|
14 |
+ install: |
|
15 |
+ - ./run.sh install_aptget r-cran-rmarkdown r-cran-knitr |
|
16 |
+ script: |
|
17 |
+ - ./run.sh run_tests |
|
18 |
+ after_failure: |
|
19 |
+ - ./run.sh dump_logs |
|
20 |
+ #after_success: |
|
21 |
+ # - ./run.sh coverage |
|
22 |
+ notifications: |
|
23 |
+ email: |
|
24 |
+ on_success: change |
|
25 |
+ on_failure: change |
|
26 |
+ - stage: deploy # this block builds and deploys the docs, it's in Python. |
|
27 |
+ language: python |
|
28 |
+ install: |
|
29 |
+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; |
|
30 |
+ - bash miniconda.sh -b -p $HOME/miniconda |
|
31 |
+ - export PATH="$HOME/miniconda/bin:$PATH" |
|
32 |
+ - hash -r |
|
33 |
+ - conda config --set always_yes yes --set changeps1 no |
|
34 |
+ - conda update -q conda |
|
35 |
+ - conda info -a |
|
36 |
+ - conda create -q -n test-env python=$TRAVIS_PYTHON_VERSION |
|
37 |
+ - source activate test-env |
|
38 |
+ - pip install mkdocs==1 mkdocs-material==3.0.3 |
|
39 |
+ - conda install r-knitr r-devtools |
|
40 |
+ - R -e 'remove.packages(c("curl","httr")); install.packages(c("curl", "httr"), repos="http://cran.us.r-project.org"); Sys.setenv(CURL_CA_BUNDLE="/utils/microsoft-r-open-3.5.0/lib64/R/lib/microsoft-r-cacert.pem")' |
|
41 |
+ - R -e 'install.packages("Rd2md", repos="http://cran.us.r-project.org")' |
|
42 |
+ - R -e 'source("https://bioconductor.org/biocLite.R"); biocLite("BiocInstaller"); library(devtools); install_github("compbiocore/qckitfastq",build_vignettes=FALSE)' |
|
43 |
+ before_script: |
|
44 |
+ - source activate test-env |
|
45 |
+ script: |
|
46 |
+ - mkdir docs |
|
47 |
+ - Rscript make.R |
|
48 |
+ - mkdir docs/styles |
|
49 |
+ - mkdir docs/images |
|
50 |
+ - curl https://raw.githubusercontent.com/compbiocore/cbc-documentation-templates/master/docs/assets/styles/dark_mode.css > docs/styles/dark_mode.css |
|
51 |
+ - curl https://raw.githubusercontent.com/compbiocore/cbc-documentation-templates/master/docs/assets/img/cbc-logo.svg > docs/images/cbc-logo.svg |
|
52 |
+ - mkdocs build --verbose --clean --strict |
|
53 |
+ deploy: |
|
54 |
+ provider: pages |
|
55 |
+ skip_cleanup: true |
|
56 |
+ github_token: $GITHUB_PAT |
|
57 |
+ local_dir: site |
|
58 |
+ on: |
|
59 |
+ branch: master |
|
32 | 60 |
\ No newline at end of file |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,30 @@ |
1 |
+# Run Travis CI for R using https://eddelbuettel.github.io/r-travis/ |
|
2 |
+ |
|
3 |
+language: c |
|
4 |
+ |
|
5 |
+sudo: required |
|
6 |
+ |
|
7 |
+dist: trusty |
|
8 |
+ |
|
9 |
+before_install: |
|
10 |
+ - curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh |
|
11 |
+ # optionally add our launchpad repo, but not needed here |
|
12 |
+ # - sudo add-apt-repository -y ppa:edd/misc |
|
13 |
+ - ./run.sh bootstrap |
|
14 |
+ |
|
15 |
+#install: |
|
16 |
+# - ./run.sh install_aptget |
|
17 |
+ |
|
18 |
+script: |
|
19 |
+ - ./run.sh run_tests |
|
20 |
+ |
|
21 |
+after_failure: |
|
22 |
+ - ./run.sh dump_logs |
|
23 |
+ |
|
24 |
+#after_success: |
|
25 |
+# - ./run.sh coverage |
|
26 |
+ |
|
27 |
+notifications: |
|
28 |
+ email: |
|
29 |
+ on_success: change |
|
30 |
+ on_failure: change |
|
0 | 31 |
\ No newline at end of file |