File tree 3 files changed +28
-16
lines changed 3 files changed +28
-16
lines changed Original file line number Diff line number Diff line change 1
1
environment :
2
- nodejs_version : " 0.12.7 "
2
+ nodejs_version : " Stable "
3
3
matrix :
4
4
# First group is 32 bit python 2.7
5
5
- PYTHON : " C:\\ Python27"
@@ -33,10 +33,13 @@ init:
33
33
# Prepare pip and pip3, PATH iterated left to right first hit wins
34
34
- cmd : set PATH=%PYTHON%\scripts;%PYTHON3%\scripts;%PATH%
35
35
- cmd : ECHO Path - %PATH%
36
+ - cmd : " %PIP% --version"
37
+ - cmd : " %PIP3% --version"
36
38
37
39
# Ensure node x86 (appveyor powershell script to switch installed versions)
38
- - ps : Install-Product node 5.1.0 x86
40
+ - ps : Install-Product node 'Stable' x86
39
41
- cmd : node --version
42
+ - cmd : node -p "process.arch"
40
43
- cmd : npm --version
41
44
42
45
install :
Original file line number Diff line number Diff line change 1
- # We are using the iOS build system to create Mac OS X python builds
2
- language : objective-c
1
+ os : osx
2
+ osx_image : beta-xcode6.1
3
+ language : node_js
4
+ node_js : ' 6'
3
5
4
6
before_install :
5
7
# OS extra info
8
+ - sw_vers
6
9
- uname -a
7
10
- python --version
8
11
- python -c "import struct; print(struct.calcsize('P') * 8)"
9
- - pip freeze
10
12
11
13
# Install Python 2 and 3 with pip and check versions
12
14
- brew update
13
- - brew install python3
14
- - brew link --overwrite python3
15
15
- brew install python
16
- - brew link --overwrite python
16
+ - brew unlink python && brew link python
17
+ - brew install python3
18
+ - brew unlink python3 && brew link python3
19
+ - brew install libcouchbase
17
20
- PATH=/usr/local/bin:$PATH
18
21
- echo $PATH
19
22
- python --version
20
23
- python -c "import struct; print(struct.calcsize('P') * 8)"
24
+ - pip --version
21
25
- python3 --version
22
26
- python3 -c "import struct; print(struct.calcsize('P') * 8)"
23
-
24
- - brew install libcouchbase
27
+ - pip3 --version
25
28
26
29
# Install Python packages (built with Python 3, tests for 2 and 3)
27
30
- pip install mock
@@ -31,10 +34,11 @@ before_install:
31
34
- pip freeze
32
35
- pip3 freeze
33
36
34
- # Install node.js
37
+ # Travis make takes > 10 minutes, so need to increase wait
35
38
- brew unlink node
36
- - brew install node
39
+ - travis_wait brew install node
37
40
- node --version
41
+ - node -p "process.arch"
38
42
- npm --version
39
43
40
44
# Build and pack Ardublockly
Original file line number Diff line number Diff line change 5
5
6
6
# Indicating node also offers advantage of bypassing virtual environments
7
7
node :
8
- version : 5.1 .0
8
+ version : 5.5 .0
9
9
10
10
# Override /etc/hosts
11
11
hosts :
@@ -35,8 +35,13 @@ dependencies:
35
35
- sudo easy_install3 pip
36
36
- python --version
37
37
- python -c "import struct; print(struct.calcsize('P') * 8)"
38
+ - pip2 --version
38
39
- python3 --version
39
40
- python3 -c "import struct; print(struct.calcsize('P') * 8)"
41
+ - pip3 --version
42
+
43
+ # The GLIBC version might have been updated with apt-get installs
44
+ - ldd --version
40
45
41
46
# Python packages (built on Python 2, tests run both 2 and 3)
42
47
- sudo pip2 install mock
@@ -47,12 +52,12 @@ dependencies:
47
52
- pip2 freeze
48
53
# A current issue with pip causes this command to fail
49
54
# https://github.com/pypa/pip/issues/3681
55
+ # Fixed on the 26 May 2016, waiting for release > 8.1.2
50
56
# - pip3 freeze
51
57
52
- # Install node.js
53
- # - curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
54
- # - sudo apt-get install -y nodejs
58
+ # Check node.js versions
55
59
- node --version
60
+ - node -p "process.arch"
56
61
- npm --version
57
62
58
63
override :
You can’t perform that action at this time.
0 commit comments