File: .travis.yml

package info (click to toggle)
aioftp 0.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 576 kB
  • sloc: python: 4,510; makefile: 172
file content (65 lines) | stat: -rw-r--r-- 2,298 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
dist: xenial
language: python
python: 3.7
services:
  - docker
branches:
  only:
    - master
stages:
  - lint
  - test
  - deploy
matrix:
  include:
    - name: lint
      stage: lint
      script:
        - >
          docker run --rm -v $(pwd):/source -w /source python bash -c "
          pip install flake8;
          flake8 aioftp tests"
    - name: cpython 3.7
      stage: test
      before_install:
        - echo '{"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
        - sudo systemctl restart docker
      install:
        - pip install codecov
      script:
        - >
          docker run --rm -v $(pwd):/source -w /source python:3.7 bash -c "
          pip install -e ./[tests];
          pytest;
          rm -rf build/ *.egg-info"
      after_success:
        - codecov
    - name: cpython 3.8
      stage: test
      before_install:
        - echo '{"ipv6":true,"fixed-cidr-v6":"2001:db8:1::/64"}' | sudo tee /etc/docker/daemon.json
        - sudo systemctl restart docker
      install:
        - pip install codecov
      script:
        - >
          docker run --rm -v $(pwd):/source -w /source python:3.8 bash -c "
          pip install -e ./[tests];
          pytest;
          rm -rf build/ *.egg-info"
      after_success:
        - codecov
    - name: deploy
      stage: deploy
      script:
        - echo "deploy"
      deploy:
        provider: pypi
        username: __token__
        password:
          secure: "k2+VW3e+JiFq1KaH1kKPb9n4sM790JIFYxwzmLUIq9nRI35A7FkinWmIa+lz3QHfGOi4HjNqKJospDY1vez0oXKQpeb4QdhTw8FRs+9b+X1Yff48hkA/GEiXiVCiJ6KS26qnUFEqU6xGdjamrdZ8G0e43Ezo/9a03X+Zi2/GIb+g2fWw5c41i87lb0f4APKmL7nfMGkIqHzOBdpPV6UYxIuOAlc1UCpiSoY94PTw8+w+XJKDD2h6+g3okCXXR6Z+iX6NvnGjbIBZ3L574tn8+XvlyhduWuiuArmmWQj5kiG0JH+KYRU/NhdF0vCGib1EfP1UZLsrZ3T1n0YhCHGcUKEFC98pERZdD7i3vkipKHFxaPbu7IBALsCtS/NuzBWk6JSp7uvV1DPX/98gZz3XOrMMbu5sI12LfiwStPhyKFec4NNrbR+DY/wRMvhY2dMXNQK1Jn5/452DqbrAqM5gJH9ifR2QLrwYSdyzzCNZzH/tTuxXrStk3F8oLIU4GOSI0sGtRADgBHZgASXlLg/2Wjhy5K2jb3lgXIBjzA3y2SVomcehVXQ3MyYEEHH7789j5AdwuTaK1uagpeVABDaPqmPvksFphFOPpQLQkS7ROooeRMut8NfqQUYTmek9xHQ2Tx6x/KuEI2W0AKZWpQ9SoXpKw0as+yVdnvXqWuNgv0s="
        distributions: sdist bdist_wheel
        skip_existing: true
        cleanup: false
        on:
          branch: master