File tree Expand file tree Collapse file tree 3 files changed +23
-7
lines changed Expand file tree Collapse file tree 3 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 1
1
os :
2
2
- linux
3
+ - osx
3
4
4
5
language : cpp
5
6
@@ -8,15 +9,15 @@ compiler:
8
9
- clang
9
10
10
11
before_script :
12
+ - env | sort
11
13
- date -u
12
14
- uname -a
13
- - lsb_release -a
14
- - sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse"
15
- - sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse"
16
- - sudo apt-add-repository "deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse"
17
- - sudo apt-get update -qq
18
- - sudo apt-get install -qq gcc g++ scons swig swig2.0
19
- - sudo apt-get install -qq libavdevice-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavresample-dev python-dev freeglut3-dev libxmu-dev doxygen
15
+
16
+ - chmod +x tools/travis.linux.install.deps.sh
17
+ - chmod +x tools/travis.osx.install.deps.sh
18
+
19
+ - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./tools/travis.linux.install.deps.sh; fi
20
+ - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./tools/travis.osx.install.deps.sh; fi
20
21
21
22
script :
22
23
- mkdir build
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ lsb_release -a
3
+
4
+ sudo apt-add-repository " deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse"
5
+ sudo apt-add-repository " deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse"
6
+ sudo apt-add-repository " deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse"
7
+ sudo apt-get update -qq
8
+ sudo apt-get install -qq gcc g++ cmake swig swig2.0
9
+ sudo apt-get install -qq libavdevice-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavresample-dev python-dev freeglut3-dev libxmu-dev doxygen
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ brew update
4
+
5
+ brew install gcc cmake swig
6
+ brew install ffmpeg freeglut doxygen
You can’t perform that action at this time.
0 commit comments