forked from OlehKulykov/PLzmaSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (62 loc) · 1.75 KB
/
.travis.yml
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
language: cpp
git:
submodules: true
os:
- linux
- osx
compiler:
- gcc
- clang
#install:
# - gem install xcpretty
# - gem install jazzy
before_script:
- mkdir build
# - g++ -dM -E -x c++ - < /dev/null
script:
- cd build
- rm -rf *
- cmake -DCMAKE_INSTALL_PREFIX:PATH=~/libplzma-install-dir -DCMAKE_BUILD_TYPE=Release -DLIBPLZMA_OPT_BUILD_NUMBER=${TRAVIS_BUILD_NUMBER} ..
- make -j4
- ctest --verbose
- make install
- rm -rf *
- cmake -DLIBPLZMA_OPT_NO_C_BINDINGS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DLIBPLZMA_OPT_BUILD_NUMBER=${TRAVIS_BUILD_NUMBER} ..
- make -j4
- ctest --verbose
- rm -rf *
- cmake -DLIBPLZMA_OPT_NO_PROGRESS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DLIBPLZMA_OPT_BUILD_NUMBER=${TRAVIS_BUILD_NUMBER} ..
- make -j4
- rm -rf *
- cmake -DLIBPLZMA_OPT_NO_CRYPTO:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DLIBPLZMA_OPT_BUILD_NUMBER=${TRAVIS_BUILD_NUMBER} ..
- make -j4
- ctest --verbose
- rm -rf *
- cmake -DLIBPLZMA_OPT_NO_C_BINDINGS:BOOL=ON -DLIBPLZMA_OPT_NO_PROGRESS:BOOL=ON -DLIBPLZMA_OPT_NO_CRYPTO:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DLIBPLZMA_OPT_BUILD_NUMBER=${TRAVIS_BUILD_NUMBER} ..
- make -j4
- ctest --verbose
- rm -rf *
- cmake -DLIBPLZMA_OPT_NO_TAR:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DLIBPLZMA_OPT_BUILD_NUMBER=${TRAVIS_BUILD_NUMBER} ..
- make -j4
- ctest --verbose
- cd ..
- if [ -n "$(which swift)" ]; then swift -version; fi
#- if [ -n "$(which swift)" ]; then swift build; fi
#- if [ -n "$(which swift)" ]; then swift test; fi
- nvm install 13
- nvm use 13
- npm run install
- npm run test
- nvm install 14
- nvm use 14
- npm run install
- npm run test
- nvm install 15
- nvm use 15
- npm run install
- npm run test
branches:
only:
- master
- tmp
- multivolume