-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
28 lines (23 loc) · 2.23 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
sudo: required
services:
- docker
env:
- IMAGE=ubuntu:bionic
language: c
script:
- docker pull $IMAGE
- cid=`docker run --tty --detach --volume $TRAVIS_BUILD_DIR:/microflash --workdir /microflash $IMAGE bash`
- docker exec $cid apt-get update
- docker exec $cid apt-get install -y --no-install-recommends gcc gettext libglib2.0-dev libgtk-3-dev libgudev-1.0-dev libjson-glib-dev meson
- docker exec $cid meson _build
- docker exec $cid ninja -C _build
- docker exec $cid ninja -C _build microflash-pot
- docker exec $cid apt-get install -y curl
- docker exec $cid curl -X POST https://poeditor.com/api/ -F api_token="$POEDITOR_TOKEN" -F action="upload" -F id="217753" -F updating="terms" -F sync_terms="1" -F file=@"po/microflash.pot"
#deploy:
# provider: launchpad
# slug: "~robert-ancell/microflash/+git/microflash"
# oauth_token:
# secure: yQ0qm7FDAp2V9VuaCjuG6Y/2IEAkVKK8XVlzPH1apTQlfj/EbjAIYVWBijLIXzm8SBAjtWwopXZ7v/xwSU8M3wSyz+yXIH7KrYgEYT+krhyMdMGXH/BUcCaIq+OuQA1sBCtQC9srcer5UONhIQwcBtscVv/cSHcgbSbx10JJfBw2A3siFVTZomNMNpZR6V+6CXXyfxwzlfN0rCv4SF8aibSPh8PS0aFfgViIMP1HFVDmIqdB+cquEJnWfRVnyqzsHvD5l9lYPK2vdNQWv6wP3shJbzsEMzQ+pPLR0TUJL/mHe2w0M1nPauaxK1pVGFr4osmrjHg+fNt4yHQyJo2Fiou7lLfBcaEUk/3BEE60XjqkzF4Ce30tNX9MbdNVSAlR/h9GQjPkcSVPKtI+anSB7CSh/xU31NeYmqRIqZujHpmsi50svFY8C2qbvBqFvyRAdHdRPB8fdL6i/Sflwo9eaXdg5AMNSTGYxslTCuVzyJzTUATzsbBUkYgHq54J7dGuBWx8DZWN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