File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,15 @@ language: cpp
16
16
sudo : false
17
17
compiler :
18
18
- clang
19
+ install :
20
+ - pyenv install 3.6.3
21
+ - pyenv global 3.6.3
19
22
before_script :
20
23
- CHECKOUT_DIR=$PWD && cd ..
21
24
- chmod a+x $CHECKOUT_DIR/support/checkout-deps.sh
22
25
- $CHECKOUT_DIR/support/checkout-deps.sh && cd $CHECKOUT_DIR
23
26
script :
24
27
- mkdir build && cd build
25
28
- PATH="~/.local/bin:$PATH"
26
- - CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-optimize
29
+ - CC=clang-3.7 CXX=clang-3.7 python3 ../configure.py --enable-optimize
27
30
- ambuild
Original file line number Diff line number Diff line change @@ -92,19 +92,15 @@ repo="https://github.com/alliedmodders/hlsdk"
92
92
origin=
93
93
checkout
94
94
95
- python_cmd=` command -v python `
95
+ python_cmd=` command -v python3 `
96
96
if [ -z " $python_cmd " ]; then
97
- python_cmd=` command -v python3`
98
-
99
- if [ -z " $python_cmd " ]; then
100
- echo " No suitable installation of Python detected"
101
- exit 1
102
- fi
97
+ echo " No suitable installation of Python detected. Min required is 3.6"
98
+ exit 1
103
99
fi
104
100
105
101
` $python_cmd -c " import ambuild2" ` 2>&1 1> /dev/null
106
102
if [ $? -eq 1 ]; then
107
- echo " AMBuild is required to build SourceMod "
103
+ echo " AMBuild is required to build AMXModX "
108
104
109
105
` $python_cmd -m pip --version` 2>&1 1> /dev/null
110
106
if [ $? -eq 1 ]; then
You can’t perform that action at this time.
0 commit comments