-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
34 lines (27 loc) · 1.32 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
sudo: false
language: generic
cache:
directories:
- $HOME/.stack/
- $HOME/.ghc/
addons:
apt:
packages:
- ghc
before_install:
#- sudo apt-get install -y g++ gcc libc6-dev libffi-dev libgmp-dev make xz-utils zlib1g-dev git gnupg
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
install:
- stack install --system-ghc --no-terminal
script:
- discogs2pg --help
deploy:
provider: releases
api_key:
secure: zP+sHBbN360TgrWgdVwlTkttME851HvMdKoMCHAP18JFiBM4JGGE4bSAZMCZOphYzdp52oNjXWrwff/4mxLNNGptTtbpjbGcAu5zb/HCjOD2lz4PwL20BUHQzhQvT9LcKLdMtfJGU8o4T+LHxkh4wLjLth3oXk9eXxP1hTtb8JCl0Rj1sokIpF1EZnw2qH7mjKDXt3TJVzDslVvm20kDqNlJ5O6dYaSm2TR92CVzyI+e99HqGNOhmkhStaqyI9PjiPWkhtWblR8YLwzTn3n4GlaNFiwAKFpdt4xmNXH5SBtL9P1mYgyuoz2aA6o0eUzCbgKsbsz/jHdbmNVaI1Jaxg3DxupiTEhJHttbx+zigAwW75/iIYawj1DQd0rItEB66KFfGxZtH8ludNWJhbJ9/yKNJarJEqFwtC+2f9t2Jj80XJ5niO5Vw5sxhwOcFyWDg6TtHCP7U07020iNoa1eSpgXFEkr6FIshInF4E6GKqou8hqMrG3YPt6aMRJLsVEtSJgHC0FRHwC9ImOkiHQErXYN+KujhtI5uqjWBiFh/e8foPu+eFzQewx6yosnpZbd+4WAvVhXJ5GCrNGgpkKr0wT/wtLsvn7R2m/QThjBuswzCbDNQj4PzVK5P6zg4IrNtdfO4N5Ev91Ue8a9DThov0Q0tFHzxNxa+cp8SiUaUpg=
file: "$HOME/.local/bin/discogs2pg"
on:
repo: alvare/discogs2pg
tags: true