mirror of https://github.com/snachodog/mybuddy.git
Use correct Python versions in Travis CI (#169)
* Set python executable explicitly with pipenv command * Move to travis-ci.com * Remove Pipfile for older Python versions
This commit is contained in:
parent
9d261efc36
commit
9fb49876f4
10
.travis.yml
10
.travis.yml
|
@ -5,13 +5,15 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- name: "Python 3.6"
|
- name: "Python 3.6"
|
||||||
before_install:
|
before_install:
|
||||||
- pyenv global 3.6.10
|
- pyenv global `pyenv versions | tr -d "[:blank:]" | grep -Po "3\.6\.[\d]+" | tail -1`
|
||||||
|
- rm Pipfile.lock
|
||||||
- name: "Python 3.7"
|
- name: "Python 3.7"
|
||||||
before_install:
|
before_install:
|
||||||
- pyenv global 3.7.6
|
- pyenv global `pyenv versions | tr -d "[:blank:]" | grep -Po "3\.7\.[\d]+" | tail -1`
|
||||||
|
- rm Pipfile.lock
|
||||||
- name: "Python 3.8"
|
- name: "Python 3.8"
|
||||||
before_install:
|
before_install:
|
||||||
- pyenv global 3.8.1
|
- pyenv global `pyenv versions | tr -d "[:blank:]" | grep -Po "3\.8\.[\d]+" | tail -1`
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
|
@ -23,7 +25,7 @@ install:
|
||||||
- npm install -g gulp-cli
|
- npm install -g gulp-cli
|
||||||
- npm install
|
- npm install
|
||||||
- pip install pipenv
|
- pip install pipenv
|
||||||
- pipenv install --dev
|
- pipenv --python `pyenv which python` install --dev
|
||||||
before_script:
|
before_script:
|
||||||
- gulp lint
|
- gulp lint
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/babybuddy/babybuddy.svg?branch=master)](https://travis-ci.org/babybuddy/babybuddy)
|
[![Build Status](https://travis-ci.org/babybuddy/babybuddy.svg?branch=master)](https://travis-ci.com/babybuddy/babybuddy)
|
||||||
[![Coverage Status](https://coveralls.io/repos/github/babybuddy/babybuddy/badge.svg?branch=master)](https://coveralls.io/github/babybuddy/babybuddy?branch=master)
|
[![Coverage Status](https://coveralls.io/repos/github/babybuddy/babybuddy/badge.svg?branch=master)](https://coveralls.io/github/babybuddy/babybuddy?branch=master)
|
||||||
|
|
||||||
- [Contributions](#contributions)
|
- [Contributions](#contributions)
|
||||||
|
|
Loading…
Reference in New Issue