forked from sugarcrm-developers/school
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 1.52 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
stages:
- name: test
- name: Build & Post on GitHub
if: branch = master
jobs:
include:
- stage: test
language: php
php: '7.1'
os: linux
before_script:
- composer install
- stage: test
language: node_js
node_js: '9'
before_install:
- yarn global add grunt-cli
- stage: Build & Post on GitHub
language: php
php: '7.1'
before_script:
- composer install
- cd package
script:
- "./pack.php -v $(date +'%Y%m%d-%H.%M.%S')"
- "./pack.php -v $(date +'%Y%m%d-%H.%M.%S') -w 40" #Using 40 as a typical path length. May not work for all Windows installations
before_deploy: git tag "$(date +'%Y%m%d-%H.%M.%S')-$(git log --format=%h -1)"
deploy:
file_glob: true
provider: releases
file: releases/sugarcrm-ProfessorM-*.zip
api_key:
secure: wZjieCCyLewnTuR1vLjtVLp+ANtaq2ltP6kyiBcE33j2WyyWIiQqHtmjWAnnpq3Kkz64Pe1epfWuFJagXQyMvH9ACojmk0bZmbJjt293g7YWVVHOVco69Ti9+D4bTuHNeWIS31xbDTdzgiz/t9c2dVt8ISLFsIG7GJUsg3P+ye+GH/zbmPmrcmyMLnEtlymOSvbg1RiCQ9AJyUywLenes1Un/2nZuJpkZ76KwwnQNHH6xF1iIRtbR41/B1nRKiJgsArfz1FQp5sM6naOZiqnGejuQ8LswxYGbWZM27iJblW+NpTWJrvNswGEekEb63mVGIx3VJjEGKqkD1cjOYmaGG6nenSEI55r6BTEtoa9zV02pjQ8MMBaX5gPftvnmDrHGqwS7vtqM1YjJ8M0dWhkNqmz4fvss+IuPveaYNyHHeytQElhSuOoS0BAJsq7q3eZbK+Wj7Nd6qnXbJ6zJtuounljG9Kz9bmP82HUA04xn5lSpIIfi+KSb8CiQfzzRf2iws8wpfZ5fAU8OxImuEDaWRjH7473Uyr05Ai4v8d9gx9RmHhjJngOpjyJ4QekHRMmxO3m3msmhEkNjDq+9eM6pQDadwbnQtYTaTSyVXmq8UmV54sqhj8ZRskFmYlqEeM5b0qi+VujREykfnY4a5uJyxXOFLMlAP8HRUK3JGRX3kE=
skip_cleanup: true