diff --git a/.travis.yml b/.travis.yml index 82e8fd42..d3056da8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,8 +43,12 @@ matrix: - llvm-toolchain-precise before_install: + # donwload nana-demo first + # we are in: 'user'/nana/ - cd .. - - git clone --depth=1 --branch=hotfix https://github.com/qPCR4vir/nana-demo.git nana-demo + # we are in: 'user'/ + - git clone --depth=1 --branch=master https://github.com/qPCR4vir/nana-demo.git nana-demo + # now we have 'user'/nana-demo, 'user'/nana/ and we are in: 'user'/ - export PATH="$HOME/bin:$PATH" - wget --no-check-certificate --no-clobber -O /tmp/tools/cmake https://cmake.org/files/v3.12/cmake-3.12.0-rc3-Linux-x86_64.sh || true - chmod -R +x /tmp/tools @@ -53,22 +57,24 @@ install: - /tmp/tools/cmake --prefix="$HOME" --exclude-subdir before_script : - # we have: qPCR4vir/nana/../nana-demo and now we are in: qPCR4vir/nana/ our executable tests will access: ../nana-demo/Examples/*.bmp etc.(need to be in parallel with nana-demo/Examples) - #- cd ../nana-demo - - mkdir demo-build + - mkdir demo-build - cd demo-build + # now we have 'user'/nana-demo, 'user'/nana/ , 'user'/demo-build/ and we are in: 'user'/demo-build/ services: - - # travis don't have a physical monitor. We need to install an emulator: https://docs.travis-ci.com/user/gui-and-headless-browsers/ + # travis don't have a physical monitor. We need to install an emulator: + # https://docs.travis-ci.com/user/gui-and-headless-browsers/ - xvfb script: - cmake -G"Unix Makefiles" ../nana-demo -DCMAKE_INSTALL_PREFIX=.. -DNANA_CMAKE_ENABLE_JPEG=ON -DNANA_CMAKE_FIND_BOOST_FILESYSTEM=OFF -DNANA_CMAKE_AUTOMATIC_GUI_TESTING=ON -DNANA_CMAKE_INSTALL=OFF - make install + # we have installed in 'user'/ ('user'/demo-build/..), and cmake created 'user'/nana-test/ # todo: separate resources from sources (a directory for images) - ls + # we were still in: 'user'/demo-build/ - cd ../nana-test/bin - - ls + - ls -lh - ./a_group_impl - ./animate-bmp - ./audio_player @@ -107,22 +113,21 @@ script: - ./menu_debug #- ./modal_form # https://travis-ci.org/qPCR4vir/nana/jobs/140250744#L1736 #- ./MontiHall # https://travis-ci.org/qPCR4vir/nana/jobs/140238537#L1775 - #- ./helloworld_demo # https://travis-ci.org/qPCR4vir/nana/jobs/140238537#L1786 + - ./helloworld_demo + # https://travis-ci.org/qPCR4vir/nana/jobs/140238537#L1786 #- ./notepad # https://travis-ci.org/qPCR4vir/nana/jobs/140238537#L1799 - - ./menu_debug - - ./menu_popuper - #- ./modal_form # https://travis-ci.org/qPCR4vir/nana/jobs/140238537#L1846 + - ./menu_popuper #- ./widget_show2 # https://travis-ci.org/qPCR4vir/nana/jobs/140245437#L1730 #- ./widget_show # https://travis-ci.org/qPCR4vir/nana/jobs/140245437#L1740 - ./place_login - ./png #- ./screen # https://travis-ci.org/qPCR4vir/nana/jobs/140238537#L1909 - - ./stretch_image - #- ./threading # https://travis-ci.org/qPCR4vir/nana/jobs/140245437#L1826 ? - #- ./thread-pool # https://travis-ci.org/qPCR4vir/nana/jobs/140247564#L1782 + - ./stretch_image + - ./textbox_line_number + - ./threading # https://travis-ci.org/qPCR4vir/nana/jobs/140245437#L1826 ? + - ./thread-pool # https://travis-ci.org/qPCR4vir/nana/jobs/140247564#L1782 - ./various_events #- ./window-dragger # https://travis-ci.org/qPCR4vir/nana/jobs/140245438#L1820 - ./windows-subclassing - - ./textbox_line_number