forked from akiraux/Akira
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
71 lines (57 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
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
66
67
68
69
70
71
matrix:
include:
- language: bash
dist: xenial
env:
global:
- LC_ALL: C.UTF-8
- LANG: C.UTF-8
addons:
snaps:
- name: snapcraft
channel: stable
classic: true
- name: http
- name: transfer
- name: lxd
channel: stable
script:
- sudo apt update
- sudo /snap/bin/lxd.migrate -yes
- sudo /snap/bin/lxd waitready
- sudo /snap/bin/lxd init --auto
- mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
- sudo snapcraft --use-lxd
after_success:
- cp *.snap "$(echo "$TRAVIS_REPO_SLUG" | sed -e 's|.*/\(.*\)|\1|')-pr$TRAVIS_PULL_REQUEST.snap"
- timeout 180 /snap/bin/transfer "$(echo "$TRAVIS_REPO_SLUG" | sed -e 's|.*/\(.*\)|\1|')-pr$TRAVIS_PULL_REQUEST.snap"
after_failure:
- sudo journalctl -u snapd
- http https://api.snapcraft.io/v2/snaps/info/core architecture==amd64 Snap-Device-Series:16
include:
- language: node_js
node_js:
- lts/*
sudo: required
services:
- docker
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-5-dev
cache:
directories:
- /tmp/liftoff
matrix:
include:
- env: DIST=juno
install:
- npm install @elementaryos/houston
script:
- houston ci
--distribution $DIST
branches:
only:
- master