This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
81 lines (73 loc) · 2.33 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
72
73
74
75
76
77
78
79
80
81
language: python
cache:
- pip
env:
global:
- secure: >-
RaNxoZini1OsPyQgzili94KumASWwiW5Sp1sH/IEW8xOHHn6C2eg6NmhYMY3ucgZHpZJA/V6VoCriIk6sFgdckbA2qxEtpOzz1sEcLiucCb1f13zLjLcLa8y3cBm12g0siiZbEH8oRCfifzw6AZiBgAvMoVvBOdA7tdWEEa5awox4Rqc6t4RZIw2ZK7+BgbZ62lPueN93oQ/iaold6950flSSLeL5TsaagqaR8AEOj1OMEtK39i2ouNPK5LKrDw9s512pnRYLDxNoWevHhbGMCwxU00rQ2xcpZR2UcHwYMWt/B4XtYmSvMGthyBsQYuyiyuqmSkigUoUC7jl977dG638N+Lu2pwEbOgkXQ967zvNLpRMZTA7sV1Vk4SzrzZibI7pAByqwzO9482gFx4XC1GL6N6yNzfoCWws3NNkHjqtnmcE0V5Lu7qy9vXCFDvLtqDYYUAcVtpOJWG45NSiJxa53MHm1i/Ke2rdEGMfTJOMyYa+EkIWSnwLVR0EK3vKFymQehMwUxgV4pQRwDgVFJqhO4OR8A3dvdGwrYuE8SCM6r78a4gCWoHoawjXvMt1Lr0so5qpnUVzE6xVAQXEOpKO1zbNsOt+ORhWnXSwX3OsuitmAUBkkRbnYWaUVg9wYFedu4TIlt++VSkgHVc21PTajJilamxIAtDEDQ9AkNQ=
matrix:
include:
# Linux
# Make Python docs
- env: GOAL=make-docs
os: linux
dist: trusty
python: 2.7
script:
- ./scripts/make_docs.sh
# Test tidy
- env: GOAL=static-test
os: linux
dist: trusty
python: 2.7
install:
- ./mach
script:
- make test
# Unittest
- env: GOAL=unittest
os: linux
dist: trusty
python: 2.7
script:
- make unit
# Test bootstrap-linux
- env: GOAL=bootstrap
os: linux
dist: trusty
python: 2.7
sudo: required
install:
# enable universe repository
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe"
- sudo apt-get -yq update || echo "Skip apt-get update fail."
- ./mach
script:
- ./bootstrap-linux.sh
- cat bootstrap.log
# Run "runtest.py -h" for testing Hasal can works basically ...
- source .env-python/bin/activate
- python runtest.py -h
# Mac OS X
# Test bootstrap-mac
- env: GOAL=bootstrap
os: osx
sudo: required
language: generic
osx_image: xcode7.3
before_install:
- brew update
- which python || brew install python
- pip install virtualenv
script:
- ./bootstrap-mac.sh
- cat bootstrap.log
# Run "runtest.py -h" for testing Hasal can works basically ...
- source .env-python/bin/activate
- python runtest.py -h
branches:
only:
- master
- dev
notifications:
email: false