-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
28 lines (28 loc) · 921 Bytes
/
.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
language: cpp
cache: ccache
os: linux
dist: trusty
sudo: required
services: docker
compiler: gcc
install:
- docker build .travis -t atomify
script:
- docker run -v $(pwd):/app -t atomify bash .travis/ubuntu.sh
after_success:
- openssl aes-256-cbc -K $encrypted_082f9a3f227a_key -iv $encrypted_082f9a3f227a_iv
-in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
- tar czfv atomify-2.2a-x86_64.tar.gz snapdump/*
deploy:
- provider: script
'on':
branch: dev
script: docker run -v $(pwd):/app -t atomify sh -c "cd /app/ && snapcraft && snapcraft push *.snap --release
edge"
skip_cleanup: true
- provider: releases
api_key:
secure: Kkj9oAOkEpOIlDATOCMEsHzuqgsES+Qpf6quCQ+v40ti5ShjARQHKxXVNPVHxTq9JR1FBhX8d1vGgwPHZvv3lwtZ0dsJBGyjbKth0Us1TL2N2NvWaX7rc+CsTMduDsKPWfxnckMc9rfx4fHLDy4eYh8tfPVVOUBYPojX8V/mm8s=
file: "atomify-2.2a-x86_64.tar.gz"
on:
tags: true