-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
67 lines (67 loc) · 2.92 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
osx_image: xcode7.3
sudo: required
dist: trusty
language: c
matrix:
include:
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1 ELECTRON_ARCH=x64
compiler: clang
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1 ELECTRON_ARCH=armv7l
compiler: clang
- os: osx
env: ELECTRON_ARCH=x64 CXXFLAGS="-mmacosx-version-min=10.9" LDFLAGS="-mmacosx-version-min=10.9"
cache:
directories:
- node_modules
- app/node_modules
- "$HOME/.electron"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- libgnome-keyring-dev
- icnsutils
- clang-3.7
- graphicsmagick
- xz-utils
- rpm
artifacts:
key: AKIAJHKSAQJJJJ6ERQTQ
secret:
secure: PfCz8i5WhaHB4WpwmqNqy1VYK5mSZEHLxqrDrcH0da0bNOhrv557CqgyFLktNXcn8smT7Hc17W1EJ+6ahFoBkXWm44CY5OyYCTvFYoNGCxEttmLJb5Uv+jq1j5J7osE+OmjHNYzrTSjJZ9w1GdBA7IA9sE7yJwjST/tMXHpCSePd6nL5pF5iXRA+SG/AfI99STWKI3D8jZH+rWrOUZCQJA9xJuvzQPYkQY+sJ7zetw979ID6EIHJEZV4UhudWJN2NcOfjAuzhk85XiVJnu7Y0E+HmIGOt5RE6clai/P7KTU6Gxhrf4/Nh7KVs/JyUl4uLteUT/s97A1jHEBvtXIg1HiXlxCNefDlOLhEFmnQVCyjMjbRjYkXBz0cBGjHW/I8cRud3Z1idoIg18pbUHcHlD1mjsGfbSwqB7s3N1S7xI/k24CYihvmcIiwI0w8WweRt6UEaFVW2iuvdiHdgcgziuY+Cucagmd4hSBHSpf7TLkrTWRBSRe+jMcko1x30NFoSupRZeYwmZdoRHLRgHXEkaO0jB5de0hX+aHs61l//J3QAhhdVbxMqWZDDhD4NyoPAouXlgo+pzCFlHgidTLsu1Q3QfXYfqkldmzE/0KJkFoJSYUD4lYaljmsUcem/I4FeAIxlsGBIcTtdep/713boqt9MArj6hf0wqtjmgSxvcM=
bucket: tingbot-builds
paths:
- $(find dist -maxdepth 2 -and '(' -iname '*.zip' -or -iname '*.dmg' -or -iname '*.deb' -or -iname '*.rpm' ')' | tr "\n" ":")
before_install:
- curl https://bootstrap.pypa.io/get-pip.py | sudo /usr/bin/python
- python --version
- pip --version
install:
- nvm install 6
- npm install npm -g
- npm install [email protected]
# ensure on mac that the system python is used to install the python deps
- export PATH=/usr/bin:$PATH
- npm install
- npm prune
script:
- npm run cibuild -- --${ELECTRON_ARCH}
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: kTUbYCTCnvTfxU7KtD0Itn9ZWII+dTgM/yG8gRIbLfgeGRZloMOhkfAfFaqspiN+ljg5KK0IxEvubsGHTlDwXIhVGqPTN4HhrciqUdLKQOjVlfCrJJvtIyEsY3XN92YAHebEG3NKnozRqzSQFpmwG1Iov1kDjSLqcALTiF97indiRK+pkk69FMv1pwTpko2IF0MRe54vwvX5r78VmrDuWk+SbYvlNeOB0eOehpxjFKh+JSynz6ArRpFYsiXQmoYnn9aSDLC23IdXt4kUaWzeZrpdOhWHd/+fdQew8NpJy7HYbuASQDixm13mNqnneCKxijGF2C925oxWa7gmWWkohLwOBOpD5oUPYnkGbkLxVZbbDoGRks2AmkgtRPezEPWz4Z3G+wMcYdzJIhkkVpNcW9FfY8PGhBCWV42wVZf/52SFzbZtPsI3Nj0oj3TTbXVLbFFBtqnW9eIh4gQU21tsrphRbhR4Cs8Vag/UW+3rRRoYwI1u6yfZj3qiyjX04Rjs5fV3JMCebBSBECrRKhPExa/bcyTJeNz6uGQBtzwC8JPD5d/AuswxpV1CUjuVcU3vvIDxzPM8HvrM36ZXL1EcLpRe2O11124z9ELo5BDZYg39VDnKd9mCF+8ooR1MaK3vaN4LMUJ2VB3KzWbt5GOSxi4ke+M35p4bYfQfnhyOENw=
file_glob: true
file:
- dist/mac/*.zip
- dist/mac/*.dmg
- dist/*.deb
- dist/*.rpm
prerelease: true # releases created by travis are created as prerelease and are manually approved
on:
repo: tingbot/tide-electron
tags: true