~trufas/ledgeroni

7ac16c57a2b2d82c6e43249038eccfe3f7c6f9b8 — Rafael Castillo 1 year, 10 months ago dea0231 master
fix test running manifest
1 files changed, 28 insertions(+), 12 deletions(-)

M .builds/python37.yml
M .builds/python37.yml => .builds/python37.yml +28 -12
@@ 2,21 2,37 @@ image: debian/testing
packages:
  - curl
  - build-essential
  - libssl-dev 
  - zlib1g-dev
  - libbz2-dev
  - libreadline-dev 
  - libsqlite3-dev
  - wget
  - curl
  - llvm
  - libncurses5-dev
  - libncursesw5-dev
  - xz-utils 
  - tk-dev
  - libffi-dev
  - liblzma-dev
sources:
  - https://git.sr.ht/~trufas/ledgeroni
environment:
  deploy: synapse@synapse-bt.org
secrets:
  - 7ebab768-e5e4-4c9d-ba57-ec41a72c5665
tasks:
  - setup: |
      sudo apt install curl build-essential
      curl -O https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tgz
      tar -xvf Python-3.7.5.tgz
      cd Python-3.7.5
      ./configure --enable-optimizations --prefix=/opt/python-3.7.4
      make -j 8
      sudo make install
      curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
      export PATH="/home/build/.pyenv/bin:$PATH"
      eval "$(pyenv init -)"
      eval "$(pyenv virtualenv-init -)"
      pyenv install 3.8.0
      pyenv local 3.8.0
      cd ledgeroni
      pip install pytest
      pip install .
  - test: |
      export PATH=/opt/python-3.7.4/bin:$PATH
      export PATH="/home/build/.pyenv/bin:$PATH"
      eval "$(pyenv init -)"
      eval "$(pyenv virtualenv-init -)"
      cd ledgeroni
      pyenv local 3.8.0
      pytest
\ No newline at end of file