-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
38 lines (32 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: python
python:
- "3.7"
dist: xenial
env:
global:
- _R_CHECK_FORCE_SUGGESTS_: false
install:
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes
- conda config --set quiet yes
- conda config --set changeps1 no
- conda config --set auto_update_conda no
- conda config --add channels defaults
- conda config --add channels conda-forge
- conda update --all
- travis_retry conda install --file requirements.txt
- conda install r-dplyr r-rlang r-ggplot2 r-shiny r-reticulate r-testthat r-yaml r-progress r-data.table r-remotes
script:
- python -m pip install . --no-deps -vv
- dsc --help
- dsc-query --version
- R CMD build --no-manual dscrutils
- R CMD INSTALL dscrutils_*.tar.gz
- R CMD check --as-cran --no-manual dscrutils_*.tar.gz
- cd test && python test_parser.py && python test_query.py
branches:
only:
- master