setattr (Attributes dialog): prevent duplicates in Owners/Groups (from far2m)
[far2l.git] / .travis.yml
blob61d6fc43898b48947243cfe1569d1a8f7635d340
1 # Continuous Integration with https://travis-ci.org/
2 language: cpp
4 matrix:
5   include:
6     - os: osx
7       osx_image: xcode12
8     - os: linux
9       dist: xenial
10       sudo: required
11       compiler: gcc
12       addons:
13         apt:
14           sources:
15             - ubuntu-toolchain-r-test
16           packages:
17             - g++-5
18             - cmake
19             - libwxgtk3.0-dev
20             - libxerces-c-dev
21             - libuchardet-dev 
22             - libssh-dev
23             - libsmbclient-dev
24             - libnfs-dev
25             - libneon27-dev
26             - libarchive-dev
27             - ninja-build
28       env: CXX=g++-5
29       install:
30             - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
31     - os: linux
32       dist: xenial
33       sudo: required
34       compiler: gcc
35       addons:
36         apt:
37           sources:
38             - ubuntu-toolchain-r-test
39           packages:
40             - g++-6
41             - cmake
42             - libwxgtk3.0-dev
43             - libxerces-c-dev
44             - libuchardet-dev 
45             - libssh-dev
46             - libsmbclient-dev
47             - libnfs-dev
48             - libneon27-dev
49             - libarchive-dev
50             - ninja-build
51       env: CXX=g++-6
52       install:
53             - if [ "$CXX" = "g++" ]; then export CXX="g++-6" CC="gcc-6"; fi
54     - os: linux
55       dist: xenial
56       sudo: required
57       compiler: clang
58       addons:
59         apt:
60           sources:
61             - ubuntu-toolchain-r-test
62             - llvm-toolchain-precise-3.6
63           packages:
64             - clang-3.6
65             - cmake
66             - libwxgtk3.0-dev
67             - libxerces-c-dev
68             - libuchardet-dev 
69             - libssh-dev
70             - libsmbclient-dev
71             - libnfs-dev
72             - libneon27-dev
73             - libarchive-dev
74             - ninja-build
75       env: CXX=clang++-3.6
76       install:
77             - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.6" CC="clang-3.6"; fi
78     - os: linux
79       dist: xenial
80       sudo: required
81       compiler: clang
82       addons:
83         apt:
84           sources:
85             - ubuntu-toolchain-r-test
86             - llvm-toolchain-precise-3.7
87           packages:
88             - clang-3.7
89             - cmake
90             - libwxgtk3.0-dev
91             - libxerces-c-dev
92             - libuchardet-dev 
93             - libssh-dev
94             - libsmbclient-dev
95             - libnfs-dev
96             - libneon27-dev
97             - libarchive-dev
98             - libpcre3-dev
99             - zlib1g-dev
100             - ninja-build
101       env: CXX=clang++-3.7
102       install:
103             - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
104               
105 before_install:
106   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python@2 ; fi
107   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ( brew update || brew update || brew update ) ; fi
108   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew pin tmate ; fi
109   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew bundle -v ; fi
110   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:saiarcot895/chromium-beta ; fi
111   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo sudo apt-get update ; fi
113 script:
114   - mkdir build
115   - cd build
116   - cmake -G Ninja .. && ninja -v
117   - cd install && zip -r ../far2l-${TRAVIS_COMMIT}.zip * && cd -