.travis.yml 1.17 KB
Newer Older
ci's avatar
ci committed
1
os: linux
Mark Beamer Jr's avatar
ci test    
Mark Beamer Jr committed
2
dist: bionic
ci's avatar
ci committed
3
4
language: go
go:
Mark Beamer Jr's avatar
Mark Beamer Jr committed
5
  - 1.12.1
6
  - master
Mark Beamer Jr's avatar
ci test    
Mark Beamer Jr committed
7
8
9
10
11
12
13
14

install: true

cache:
  directories:
    - $HOME/.cache/go-build
    - $HOME/gopath/pkg/mod

15
16
services:
  - docker
Mark Beamer Jr's avatar
ci test    
Mark Beamer Jr committed
17
18
19
20
21
22
23

addons:
  apt:
    update: true
    packages:
      - youtube-dl
      - ffmpeg
Mark Beamer Jr's avatar
ci test    
Mark Beamer Jr committed
24
      - tree
Mark Beamer Jr's avatar
ci test    
Mark Beamer Jr committed
25

ci's avatar
ci committed
26
env:
ci's avatar
ci committed
27
  global:
Mark Beamer Jr's avatar
Mark Beamer Jr committed
28
    - GO111MODULE=on
ci's avatar
ci committed
29
    #GITHUB_TOKEN
Mark Beamer Jr's avatar
ci test    
Mark Beamer Jr committed
30
    - secure: "Ps3KocRP5xnM3/uA99CeYhDTVxRIuW7fGyrtqBeRWZW0cXzeA4XCTKxqcFbrPUPw67XkrBVgE58JDdWoQEJ7tm67PjMm/ltp5Evhx/QAJDh+YSofXyGDVpG1mrTZFI66R3NVVJLkSGALMkuWWXvfYZeU//AworJbyRoaIK/CVt5OP23i5N4tdd5UXc5dfLuYqnKRynyMmCkz9c3yEIQMXoPhG2hx7l7L2BeMJvcKmVhkSN7nQayjnrbUXGm/IRqrb88lvkyBevN5E3IB2V5IKEieIPZjbD/N0IfcnAt89Z96tgDhtIbx3ZvXm92lsvHA8buqQpG9d2AmSi6GKs64lQcnGeM5o0wER2JHWl1OSa1Nr/UAo5Xb/PM65Yt3yZE8AuMKHBmbfDSBzdkTXx58AeDzFUd3kMXD/fFjeQQWyXFlOss3ygH9SObl827Txmz9OJqZaxabs5Q3AP6m3EjKjz7zfLfrgpcxJM2WBiU1bN0ZxUgZkImy/CHk5gCZ7vhcnaLiDO4HZnzY/aRJwKYQPE5i0O2nHpIfovqkc0DFBA7U/7Cjin7e1E0UZvF3meLOxMqkfc6X7QTxqQpt2Tej6jlpdxw4CTLwGUhGkAw9IAPkUB3L0EbZ1/ksGhNvGDvUeSTq8hYdMAPmA+k9jS6653V4SQ+qBMy5++tbr5AeZQI="
31
32
script:
  - ./e2e/e2e.sh
ci's avatar
ci committed
33
deploy:
ci's avatar
ci committed
34
35
36
  provider: script
  skip_cleanup: true
  script: ./scripts/deploy.sh
ci's avatar
ci committed
37
38
39
  file: bin/ytsync
  on:
    repo: lbryio/ytsync
ci's avatar
ci committed
40
    tags: true