This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
67 lines (57 loc) · 2.05 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
# Cate Desktop: 2.0.0, b2
# Cate Core: 2.0.0
language: node_js
node_js:
- "8"
#env:
# global:
# - FTP_USER=ccitbx
# - FTP_HOST=ftp.brockmann-consult.de
# # using http://rkh.github.io/travis-encrypt/public/index.html
# # FTP_PASSWORD
# - secure: "z1JTkX8ULv09KNASimf6vlK4lV8BDAIKfuhOUm+PIhxOacFyVaHj3LArP7u0+qeqE3nUemRT6Xj8FJjD4PTBc98sgSk1RsJIBF5q7fKpAEwoUe2O/xGQKtdNxPsEGCn8SDy1AUP9UxRafhY8vAHUb7OtOuTH3t8YnFXe3BJq3CTckzegrTlRgn9pLGNkZZJ50n3Ao/zDCmm7BK5+U6g+QJMdRGfRBFvAbP5b6LgLO3Ep4AxFLmXg6a4NSuQWJj1r//+rFcyC/Y3k4koaRXUdyyvjKYQwB1Yg2zZCjbtOSsD1cxuxhDSBJ++nsq0EuJr6KSOvk599EnQVhZAUC8xBT7SgJuuSI7SKuJ+Ua/cuD4uGoB2UuoxoioufpjmxpAhmOzxrovjQjPG4odujtUcO0zUufpA5Vh9rqpWopdCTvrJiF+u/DgWAl/LSXWIT2O6YIxOMetligEfYD4/PO8vMbNHGxvpFx0QhmOcWs6ercY9yphx7d9kOBqCCoXTCDO8TbNDnyxXAxnuH4YQNKbqreM1/L0tnKSfkX8ovzvU9XKKDVMixt/kDI+UmPacsxj2HKGkKLeMsXZsmxauiGmeLOd99UoXXE/BkM5tTTxvjL1VuCpb6yJboxdwSyq/ZO85j1MIl9SrABNW/D2NV/v9uyCX9pTk57uYXAeduwVAsb4E="
os:
- linux
- osx
dist: trusty
addons:
apt:
packages:
- icnsutils
- xz-utils
cache:
directories:
- node_modules
install:
#
# cate installer
#
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
# else
# wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
# fi
#- bash miniconda.sh -b -p $HOME/miniconda
#- export PATH="$HOME/miniconda/bin:$PATH"
#- hash -r
#- conda config --set always_yes yes --set changeps1 no
#- conda update conda
#- conda install -y constructor
#- conda list
#
# cate-desktop installer
#
- git clone https://github.com/CCI-Tools/cate-desktop.git
- (cd cate-desktop && npm install)
script:
#- constructor installer
- cd cate-desktop
- npm run clean
- npm run compile
- npm run publish
- cd ..
#after_success:
# # only publish artifacts on master branch when pushed (not from cron or PRs)
# - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_EVENT_TYPE" = "push" ]; then
# ./upload-to-ftp.sh;
# fi