-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
112 lines (101 loc) · 2.91 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
sudo: required
dist: trusty
notifications:
email:
before_install:
# - echo "- UPGRADE -----------"
# - sudo apt-get -o Dpkg::Options::='--force-confold' --force-yes -fuy dist-upgrade
- echo "- BEFORE INSTALL -----------"
- sudo apt-get install -y autotools-dev
- sudo apt-get install -y blt-dev
- sudo apt-get install -y bzip2
- sudo apt-get install -y dpkg-dev
- sudo apt-get install -y g++-multilib
- sudo apt-get install -y gcc-multilib
- sudo apt-get install -y libbluetooth-dev
- sudo apt-get install -y libbz2-dev
- sudo apt-get install -y libexpat1-dev
- sudo apt-get install -y libffi-dev
- sudo apt-get install -y libffi6
- sudo apt-get install -y libffi6-dbg
- sudo apt-get install -y libgdbm-dev
- sudo apt-get install -y libgpm2
- sudo apt-get install -y libncursesw5-dev
- sudo apt-get install -y libreadline-dev
- sudo apt-get install -y libsqlite3-dev
- sudo apt-get install -y libssl-dev
- sudo apt-get install -y libtinfo-dev
- sudo apt-get install -y mime-support
- sudo apt-get install -y net-tools
- sudo apt-get install -y netbase
- sudo apt-get install -y python-crypto
- sudo apt-get install -y python-mox3
- sudo apt-get install -y python-pil
- sudo apt-get install -y python-ply
- sudo apt-get install -y quilt
- sudo apt-get install -y tk-dev
- sudo apt-get install -y zlib1g-dev
# - cd /tmp
- wget http://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
- tar xzvf Python-2.7.13.tgz
- cd Python-2.7.13
- ./configure --enable-shared > python-install.log 2>&1
- sudo make >> python-install.log 2>&1
- sudo make install >> python-install.log 2>&1
- sudo pip install backports.ssl_match_hostname
- cd ..
- echo "-----------------------------"
addons:
apt:
packages:
- python-dev
- python-simplejson
git:
submodules: false
virtualenv:
system_site_packages: true
#os:
# - linux
# - osx
language: python
python:
- "2.7"
install:
- pwd
- ls
# - export PATH="/opt/python/2.7.10/bin:$PATH"
- echo $PATH
- sudo pip install --upgrade pip
- which python
- python --version
- pip --version
- mkdir ~/.cloudmesh
- sudo pip install pyyaml --upgrade --force
- sudo pip install lockfile
- curl -L http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gz | tar xz
- cd pycrypto-2.6.1
- python setup.py install
- cd ..
- pwd
- ls
- pip install pip -U
- python --version
- pip --version
# - git clone https://github.com/cloudmesh/client.git
# - cd client
- pip install -U -r requirements.txt
- pip install -U -r requirements-doc.txt
- pip install -U -r requirements-test.txt
- pip install -U .
script:
- pwd
- ls
- cat /home/travis/virtualenv/python2.7_with_system_site_packages/bin/cm
- cm version
- pip install nose
- nosetests -v --nocapture tests/cm_basic
# - py.test tests/cm_basic
# - make doc
# - cm help