Mercurial > p > roundup > code
diff .travis.yml @ 6615:36ccdf0eff8d
Fix posgresql.conf change command. need sudo.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 12 Feb 2022 10:11:31 -0500 |
| parents | e9dc8e526dd0 |
| children | b8e74fd34f97 |
line wrap: on
line diff
--- a/.travis.yml Sat Feb 12 00:50:02 2022 -0500 +++ b/.travis.yml Sat Feb 12 10:11:31 2022 -0500 @@ -118,8 +118,7 @@ - mysql -u root -e 'CREATE USER "rounduptest"@"localhost" IDENTIFIED WITH mysql_native_password BY "rounduptest"; GRANT ALL on rounduptest.* TO "rounduptest"@"localhost";' # Disable fsync for speed, don't care about data durability when testing - - echo "fsync = off" >> /etc/postgresql/*/*/postgresql.conf - - ls /etc/postgres + - sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf - sudo service postgresql restart; sleep 30 # set up postgresql database - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres @@ -145,6 +144,7 @@ - if [[ "$TRAVIS_PYTHON_VERSION" == "2."* ]]; then py.test -v --maxfail=20 test/ --cov=roundup; fi + - ./setup.py build_doc after_success: - codecov
