forked from openai/roboschool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis_before_install
143 lines (135 loc) · 2.17 KB
/
.travis_before_install
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#!/bin/bash -x
ls
apt-get -qq update
if [ $? != 0 ]
then
exit 1
fi
apt-get install -y sudo
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y build-essential
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y wget git
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y p7zip
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y mingw-w64
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y gcc-mingw-w64-x86-64
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y g++-mingw-w64-x86-64
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y cmake
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y make
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y pkg-config
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y unzip
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y zip
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y binutils
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y libiberty-dev
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y perl
if [ $? != 0 ]
then
exit 1
fi
sudo apt-get install -y patch
if [ $? != 0 ]
then
exit 1
fi
dpkg -l
git clone https://github.com/olegklimov/bullet3 -b roboschool_self_collision
if [ $? != 0 ]
then
exit 1
fi
wget https://github.com/TheCrazyT/roboschool/releases/download/v0.0.1-beta.1/precompiled_headers.7z
if [ $? != 0 ]
then
exit 1
fi
wget http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-qt5-5.10.0-1-any.pkg.tar.xz
if [ $? != 0 ]
then
exit 1
fi
wget http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-python3-3.6.4-1-any.pkg.tar.xz
if [ $? != 0 ]
then
exit 1
fi
wget http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-boost-1.66.0-1-any.pkg.tar.xz
if [ $? != 0 ]
then
exit 1
fi
wget http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-assimp-4.0.1-1-any.pkg.tar.xz
if [ $? != 0 ]
then
exit 1
fi
wget http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc-libs-7.2.0-1-any.pkg.tar.xz
if [ $? != 0 ]
then
exit 1
fi
x86_64-w64-mingw32-g++ --version
#wget -O boost_2_mvc.7z https://dl.bintray.com/thecrazyt/roboschool/boost_2_mvc.7z
#if [ $? != 0 ]
#then
# exit 1
#fi
sudo sed 's/\(.include *.ansidecl.h.\)/\/\/\1/g' -i /usr/share/mingw-w64/include/ieeefp.h
if [ $? != 0 ]
then
exit 1
fi
exit 0