File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,9 @@ dist: trusty
7
7
osx_image : xcode7.3
8
8
install :
9
9
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
10
- ls /usr/local/lib/;
11
- ls /usr/local/include/mysql/;
12
- ls /usr/local/opt/;
13
- ls /usr/include;
14
10
brew install mysql;
15
11
brew link mysql;
16
- ls /usr/local/lib/;
17
12
ls /usr/local/include/mysql/;
18
- ls /usr/local/opt/;
19
- ls /usr/include;
20
13
mysql.server start;
21
14
fi
22
15
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
@@ -29,8 +22,8 @@ install:
29
22
script :
30
23
# Build MySQL
31
24
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
32
- swift build -Xcc -I/usr/local/include -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib;
33
- swift build --configuration release -Xcc -I/usr/local/include -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib;
25
+ swift build -Xcc -I/usr/local/include/mysql -Xswiftc -I/usr/local/include/mysql -Xlinker -L/usr/local/lib;
26
+ swift build --configuration release -Xcc -I/usr/local/include/mysql -Xswiftc -I/usr/local/include/mysql -Xlinker -L/usr/local/lib;
34
27
fi
35
28
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
36
29
swift build;
You can’t perform that action at this time.
0 commit comments